【问题标题】:istio-1.7.2 installation, missing dashboards and pods?istio-1.7.2 安装,缺少仪表板和 pod?
【发布时间】:2021-01-10 23:09:53
【问题描述】:

我已经使用Getting Started 页面上的官方参考安装了 istio。
以下是我使用的命令:
$ curl -L https://istio.io/downloadIstio | sh -

$ istioctl install --set profile=demo

$ kubectl label namespace default istio-injection=enabled

我最终得到了以下版本的 istio:

$ istioctl version
client version: 1.7.2
control plane version: 1.7.2
data plane version: 1.7.2 (2 proxies)

而我的 kubernetes 版本是:

$ kubectl version --short
Client Version: v1.18.8
Server Version: v1.18.8

在我验证安装在 istio-system 命名空间中的对象之前,一切似乎都很好

$ kubectl -n istio-system get all
NAME                                        READY   STATUS    RESTARTS   AGE
pod/istio-egressgateway-fbb7dc4f4-qzlxp     1/1     Running   0          84m
pod/istio-ingressgateway-5f84fcdd69-jnmqz   1/1     Running   0          84m
pod/istiod-77df9b78f8-r6n5t                 1/1     Running   0          86m

NAME                           TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                                                                      AGE
service/istio-egressgateway    ClusterIP      10.111.110.194   <none>        80/TCP,443/TCP,15443/TCP                                                     84m
service/istio-ingressgateway   LoadBalancer   10.97.41.146     <pending>     15021:30194/TCP,80:31161/TCP,443:32397/TCP,31400:31865/TCP,15443:30756/TCP   84m
service/istiod                 ClusterIP      10.107.118.172   <none>        15010/TCP,15012/TCP,443/TCP,15014/TCP,853/TCP                                86m

NAME                                   READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/istio-egressgateway    1/1     1            1           84m
deployment.apps/istio-ingressgateway   1/1     1            1           84m
deployment.apps/istiod                 1/1     1            1           86m

NAME                                              DESIRED   CURRENT   READY   AGE
replicaset.apps/istio-egressgateway-fbb7dc4f4     1         1         1       84m
replicaset.apps/istio-ingressgateway-5f84fcdd69   1         1         1       84m
replicaset.apps/istiod-77df9b78f8                 1         1         1       86m

您可以看到缺少的组件很少 - 很少有 pod 缺少 istio-citadel、istio-pilot、istio-policy、istio-sidecar、istio-telemetry、istio-tracing 等。这些组件在 1.4.2 中可用。
在 1.4.2 安装中,我可以看到 grafana、jaeger、kiali、prometheus、zipkin 仪表板。但这些现在缺失。示例:

istioctl dashboard zipkin
Error: no Zipkin pods found

这是 1.7.2 中的预期行为还是我的安装损坏了。如果安装损坏,我还能如何修复它。毕竟我按照入门指南中的说明进行操作。

【问题讨论】:

    标签: kubernetes istio kubernetes-pod sidecar istio-kiali


    【解决方案1】:

    您可以看到缺少的组件很少 - 缺少 istio-citadel、istio-pilot、istio-policy、istio-sidecar、istio-telemetry、istio-tracing 等的 pod 很少。这些组件在 1.4 中可用.2.

    这些组件与 1.5 版合并为一个名为 istiod 的服务。见:https://istio.io/latest/blog/2020/istiod/

    在 1.4.2 安装中,我可以看到 grafana、jaeger、kiali、prometheus、zipkin 仪表板。但现在这些都不见了。

    这些 AddonComponents 必须手动安装,并且自 1.7 版起不属于 istioctl。见:https://istio.io/latest/blog/2020/addon-rework/

    所以您的安装没有损坏。自 1.4 以来,它发生了很大变化。我建议通过发布公告阅读所有更改:https://istio.io/latest/news/releases/

    【讨论】:

      猜你喜欢
      • 2014-12-12
      • 1970-01-01
      • 2017-06-09
      • 1970-01-01
      • 2022-12-06
      • 1970-01-01
      • 2020-01-25
      • 1970-01-01
      • 2018-04-04
      相关资源
      最近更新 更多