Can my admission webhooks or policies break upgrades?
Yes. Every Kubernetes API request the platform makes to your cluster goes through your admission webhooks and policies: the nodes joining the cluster, the platform pods starting on them, and the management cluster replacing and upgrading machines. A webhook with failurePolicy: Fail whose backend is down, or a policy that rejects or rewrites the platform's requests, can keep an upgrade from starting, keep new nodes from becoming Ready, or stop the cluster from applying new changes.
Scope your admission webhooks and admission policies to your own namespaces, and leave system namespaces like kube-system, kube-node-lease and kube-public out. You can always delete a webhook configuration or an admission policy, even while it blocks everything else, and the cluster recovers on its own after that. See Control admission.
Related questions
