报错信息
kubectl create namespace cattle-system
Error from server (InternalError): Internal error occurred: failed calling webhook "rancher.cattle.io.namespaces.create-non-kubesystem": failed to call webhook: Post "https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation/namespaces?timeout=10s": service "rancher-webhook" not found
解决
# kubectl get mutatingwebhookconfigurations
NAME WEBHOOKS AGE
ack-node-local-dns-admission-controller 1 3d19h
# kubectl get validatingwebhookconfigurations
NAME WEBHOOKS AGE
rancher.cattle.io 7 47h
storage.crd.validate 1 3d19h
kubectl delete validatingwebhookconfigurations rancher.cattle.io
标签:kubectl,卸载,webhook,报错,io,cattle,rancher
From: https://www.cnblogs.com/xiaogongzi/p/17462974.html