代码之家  ›  专栏  ›  技术社区  ›  switchboard.op

运行“top”时,linkerd cli返回“invalid argument”

  •  0
  • switchboard.op  · 技术社区  · 7 年前

    我正在经历 getting-started 教程 linkerd 而且我有 stable-2.1.0 安装在Kube上 v1.9.6 和 v1.12.3

    我已经验证了所有吊舱都在运行,并且网格通过仪表板工作。

    当我试图跑步时 linkerd -n linkerd top deploy/linkerd-web 在步骤4中,我得到 invalid argument 从控制器返回。

    下面是详细输出:

    DEBU[0000] Expecting API to be served over [https://xx.xx.xx.xx:6443/api/v1/namespaces/linkerd/services/linkerd-controller-api:http/proxy/api/v1/]
    DEBU[0000] Making gRPC-over-HTTP call to [https://xx.xx.xx.xx:6443/api/v1/namespaces/linkerd/services/linkerd-controller-api:http/proxy/api/v1/SelfCheck] []
    DEBU[0000] Response from [https://xx.xx.xx.xx:6443/api/v1/namespaces/linkerd/services/linkerd-controller-api:http/proxy/api/v1/SelfCheck] had headers: map[Content-Type:[application/octet-stream] Date:[Wed, 12 Dec 2018 05:54:06 GMT] Content-Length:[108]]
    DEBU[0000] gRPC-over-HTTP call returned status [200 OK] and content length [108]
    DEBU[0003] Response from [https://xx.xx.xx.xx:6443/api/v1/namespaces/linkerd/services/linkerd-controller-api:http/proxy/api/v1/TapByResource] had headers: map[Content-Type:[application/octet-stream] Date:[Wed, 12 Dec 2018 05:54:09 GMT]]
    Error: invalid argument
    

    我下一步该怎么做有什么建议吗?

    我也创造了这个 issue on GitHub

    1 回复  |  直到 7 年前
        1
  •  0
  •   switchboard.op    7 年前

    事实证明,在Linux的Windows子系统上,绘制顶级表有一些不受支持的依赖项(termbox)。Github上的问题是: https://github.com/linkerd/linkerd2/issues/1976

    推荐文章