Interview Prep/Kubernetes/Cluster operations: certs, drains, rollouts and quotas

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.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Cluster operations: certs, drains, rollouts and quotas