1. 安装
kubectl create -f samples/addons/ #安装这个目录下的所有插件
// kubectl create -f samples/addons/kiali.yaml
//kubectl create -f samples/addons/jaeger.yaml
2. 修改kiali service type
kubectl edit svc kiali -n istio-system
把ClusterIp改为NodePort
root@k8s-cluster:/data/istio-1.17.2# kubectl create -f samples/addons/kiali.yaml
serviceaccount/kiali created
configmap/kiali created
clusterrole.rbac.authorization.k8s.io/kiali-viewer created
clusterrole.rbac.authorization.k8s.io/kiali created
clusterrolebinding.rbac.authorization.k8s.io/kiali created
role.rbac.authorization.k8s.io/kiali-controlplane created
rolebinding.rbac.authorization.k8s.io/kiali-controlplane created
service/kiali created
deployment.apps/kiali created
3. 浏览器访问 ip:port