创建pod时报错
[root@k8s-master ephemeral]# kubectl apply -f pod-tomcat.yamlError from server (InternalError): error when creating "pod-tomcat.yaml": Internal error occurred: failed calling webhook "namespace.sideca
·
[root@k8s-master ephemeral]# kubectl apply -f pod-tomcat.yaml
Error from server (InternalError): error when creating "pod-tomcat.yaml": Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": Post "https://istiod.istio-system.svc:443/inject?timeout=10s": service "istiod" not found
创建pod时报错
解决办法:
[root@k8s-master ephemeral]# kubectl get validatingwebhookconfigurations
NAME WEBHOOKS AGE
istiod-istio-system 1 38d
[root@k8s-master ephemeral]# kubectl delete -A ValidatingWebhookConfiguration istiod-istio-system
validatingwebhookconfiguration.admissionregistration.k8s.io "istiod-istio-system" deleted
更多推荐
已为社区贡献3条内容
所有评论(0)