2021-09-08
程序员文章站
2022-05-29 22:34:21
...
istio内安装Prometheus,Grafana等插件
部署istio有多种模式,即便以demo模式部署仍然发现无法成功部署部分组件
$ kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE
istio-egressgateway-74d887f9bf-h2t8q 1/1 Running 0 55m
istio-ingressgateway-64f86f88bd-7tv9t 1/1 Running 0 56m
istiod-5c9fd5674f-tvtzr 1/1 Running 0 58m
那么如何安装其他组件了?
$ kubectl apply -f samples/addons //添加其他组件,所有组件全部部署
kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE
grafana-68cc7d6d78-p2788 1/1 Running 0 20m
istio-egressgateway-74d887f9bf-h2t8q 1/1 Running 0 55m
istio-ingressgateway-64f86f88bd-7tv9t 1/1 Running 0 56m
istiod-5c9fd5674f-tvtzr 1/1 Running 0 58m
jaeger-5d44bc5c5d-4nr5m 1/1 Running 0 20m
kiali-fd9f88575-wsftl 1/1 Running 0 20m
prometheus-77b49cb997-fggpm 2/2 Running 0 20m //部署成功
例如运行kiali
$ kubectl rollout status deployment/kiali -n istio-system
Waiting for deployment "kiali" rollout to finish: 0 of 1 updated replicas are available...
deployment "kiali" successfully rolled out
上一篇: Istio kiali 可视化
下一篇: qemu虚拟机的实时时钟从哪里来
推荐阅读