簡體   English   中英

istio-1.7.2 安裝,缺少儀表板和 Pod?

[英]istio-1.7.2 installation, missing dashboards and pods?

我已經使用入門頁面上的官方參考安裝了 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 中的預期行為還是我的安裝損壞了。 如果安裝壞了,我還能如何修復它。 畢竟我遵循了入門指南中的說明。

因為,您可以看到缺少的組件很少 - 很少有 pod 缺少 istio-citadel、istio-pilot、istio-policy、istio-sidecar、istio-telemetry、istio-tracing 等。這些組件在 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/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM