Skip to content

Instantly share code, notes, and snippets.

@yangl
Last active December 27, 2018 09:01
Show Gist options
  • Save yangl/fc583e47de9fbd013c6aa10a74e743a5 to your computer and use it in GitHub Desktop.
Save yangl/fc583e47de9fbd013c6aa10a74e743a5 to your computer and use it in GitHub Desktop.
istio 1.0.5 helm方式安装

安装

kubectl create namespace istio-system

helm upgrade istio . --install --namespace=istio-system --set gateways.istio-ingressgateway.type=NodePort,grafana.enabled=true,grafana.service.type=NodePort,prometheus.service.service.nodePort.enabled=true,servicegraph.enabled=true,tracing.enabled=true,tracing.jaeger.ingress.enabled=true,tracing.ingress.enabled=true,kiali.enabled=true,kiali.ingress.enabled=true,kiali.ingress.hosts[0]=kiali.local,kiali.dashboard.grafanaURL=http://grafana:3000,kiali.dashboard.jaegerURL=http://jaeger-query:16686,pilot.traceSampling=100.0  --set global.proxy.includeIPRanges="10.68.0.0/16\,172.20.0.0/16"

删除 清理

helm delete istio --purge

## 清理crd
kubectl get customresourcedefinition  -n istio-system | grep 'istio'|awk '{print $1}'|xargs kubectl delete customresourcedefinition  -n istio-system

注意

istio gateway 31380通过域名访问直接在本地添加hosts http://域名:31380 访问是找不到了服务的,需在istio-ingressgateway的31380前面挂haproxy。然后访问 http://域名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment