During a kubeadm upgrade, `kubeadm upgrade plan` fails with `[ERROR CoreDNSUnsupportedPlugins]` or preflight errors about etcd health.
AdvancedTroubleshootingCluster operations: certs, drains, rollouts and quotas
Answer
Likely causes → kubeadm checks that CoreDNS configuration can be migrated automatically and that the cluster is healthy before upgrading. Custom Corefile plugins or an unhealthy etcd member block it.
Diagnose →
sudo kubeadm upgrade plan
kubectl -n kube-system get cm coredns -o yaml
etcdctl ... endpoint health --cluster
Fix → Fix etcd health first. For CoreDNS, review the Corefile against the target CoreDNS version, then either update the plugins or (knowing the risk) skip that check with --ignore-preflight-errors=CoreDNSUnsupportedPlugins and migrate the Corefile manually.
Prevent → Keep CoreDNS config close to upstream defaults, and rehearse upgrades in a staging cluster built the same way.
More on Cluster operations: certs, drains, rollouts and quotas
Every `kubectl` command on a kubeadm cluster fails with `Unable to connect to the server: x509: certificate has expired or is not yet valid: current time 2026-03-14T09:12:44Z is after 2026-03-13T08:01:10Z`.Advanced`kubectl drain` loops on `error when evicting pods/"web-6d8f-k2x9q" -n "prod" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget.`Intermediate`kubectl drain` stops with `cannot delete DaemonSet-managed Pods (use --ignore-daemonsets to ignore)` and `cannot delete Pods with local storage (use --delete-emptydir-data to override)`.BeginnerThe CD pipeline fails with `error: deployment "api" exceeded its progress deadline` from `kubectl rollout status`.IntermediateA rollout is stuck at 1 new Pod Pending, and with `maxUnavailable: 0` no old Pod is removed.IntermediatePods are not created and the ReplicaSet events show `Error creating: pods "web-5f9c-" is forbidden: exceeded quota: compute-quota, requested: requests.cpu=500m, used: requests.cpu=3800m, limited: requests.cpu=4`.Beginner