TA的每日心情 | 无聊 5 天前 |
---|
签到天数: 1644 天 [LV.Master]伴坛终老
|
[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
是因为没有完全删除导致
删除istio的webhook
[root@k8s-master ephemeral]# kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io istio-sidecar-injector
mutatingwebhookconfiguration.admissionregistration.k8s.io "istio-sidecar-injector" deleted
查看webhook
[root@k8s-master ephemeral]# kubectl get mutatingwebhookconfigurations.admissionregistration.k8s.io
No resources found
|
|