istio 安装遇到的问题
问题描述
使用helm安装的istio-1.4.0(beta5),重新安装的时候使用helm install install/kubernetes/helm/istio --name istio --namespace istio-system
,,会出现如下错误:
Error: release istio failed: Internal error occurred: failed calling webhook "pilot.validation.istio.io": Post https://istio-galley.istio-system.svc:443/admitpilot?timeout=30s: no endpoints available for service "istio-galley"
查看istio状态正常,启动自动注入kubectl label namespace default istio-injection=enabled
,创建pod的时候发现没有生效
查找问题
首先怀疑是istio-sidecar-injector组件出了问题,查看event事件没有发现异常,查询日志