我已经安装了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如您所见,缺少的组件很少--缺少istio-citadel、istio-导频、istio-策略、istio-sidecar、istio-遥测、istio-等。中的这些组件都可以在1.4.2.中使用。
在1.4.2安装中,我可以看到grafana,jaeger,kiali,prometheus,zipkin仪表板,,但是现在这些是缺失的。示例:
istioctl dashboard zipkin
Error: no Zipkin pods found这是1.7.2中的预期行为,还是我的安装失败了。如果安装坏了,我还能怎么修理呢?毕竟,我遵循了初学者指南中的指示。
发布于 2020-09-24 18:55:46
正如你所看到的,几乎没有丢失的组件--缺少的istio-citadel、istio-导航仪、istio-策略、istio-sidecar、istio-遥测、istio-跟踪等。这些组件在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/
https://stackoverflow.com/questions/64050154
复制相似问题