Hi all, I've got a k8s cluster deployed through r...
# general
f
Hi all, I've got a k8s cluster deployed through rancher and every now and then we get the following error:
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": context deadline exceeded
We aren't really sure whats going on here. We've updated our rancher container, checked firewall rules, but nothing. The only "solution" is to do the following:
Copy code
kubectl delete mutatingwebhookconfigurations rancher.cattle.io
kubectl delete validatingwebhookconfigurations rancher.cattle.io
kubectl -n cattle-system delete service rancher-webhook
perform a fake upgrade to the rancher-webhook installed app in rancher gui
Am I just hitting a really unlucky bug? It seems to be something to do with the rancher webhook service, but I cannot pinpoint it at all. These are physical nodes with the exception of the controlplane/etcd nodes which are vms
355 Views