Back to articles

Minor version upgrades in clusters that can't stop

The upgrade procedure itself rarely causes the outage. A blocked drain, a webhook that fails closed, or a manifest using a removed API does. This article covers the version skew rules that fix the order of work, a pre-flight to run a week ahead, replacing versus upgrading nodes, and why a control plane rollback isn't a real option.

Kubernetes ships a minor release roughly every four months and patches each one for about a year. A cluster that must stay supported therefore goes through three minor upgrades a year, and each one restarts every control plane component and moves every pod at least once. v1.38 is planned for 16 December 2026, so the next round is close.

The upgrade procedure is well documented. The outages tend to come from what it exposes: a manifest that uses a removed API, a PodDisruptionBudget that blocks a drain for hours, an admission webhook whose only pod was on the node being drained, a service with one replica.

Who this is for: engineers who own the upgrade of production clusters, self-managed or managed, where a maintenance window with downtime is not on offer.

What you walk away with: the version skew rules that fix the order of work, a pre-flight you can run a week ahead, the trade-off between replacing and upgrading nodes, and a realistic view of what rollback means.

The rules that fix the order

The version skew policy defines which component versions may run together.

Component Allowed relative to kube-apiserver
Other kube-apiserver instances (HA) Within one minor version of each other
kube-controller-manager, kube-scheduler, cloud-controller-manager Not newer; may be one minor older
kubelet Not newer; may be up to three minors older
kube-proxy Not newer; may be up to three minors older
kubectl One minor older or newer

Three consequences:

That last point gives you a choice. You can upgrade the control plane twice and move the nodes once, which halves the number of evictions. The cost is node-level changes from two releases arriving together. One of those is large if you are leaving 1.34: from 1.35 the kubelet won't start on cgroup v1 nodes by default, which has its own check.

Before any minor upgrade, the policy recommends being on the latest patch of your current minor, and upgrading to the latest patch of the target.

Pre-flight: a week before

Everything in this section can be checked on the running cluster without changing it.

1. Read the release notes

The section that matters in each CHANGELOG is the urgent upgrade notes. Kubelet flags, feature gates and default values change too, and API-scanning tools don't see those. The v1.37 networking removals are covered in a separate article.

2. Find removed APIs

When an API version is removed, manifests that use it are rejected and controllers that call it start failing. The deprecated API migration guide lists removals per release. At the time of writing its most recent entry is v1.32. That doesn't mean nothing has gone since: the v1.37 urgent upgrade notes, for one, drop scheduling.k8s.io/v1alpha2. So automate the check.

The API server records which deprecated APIs are still being requested:

kubectl get --raw /metrics | grep '^apiserver_requested_deprecated_apis'

The gauge has the labels group, version, resource, subresource and removed_release. In Prometheus:

apiserver_requested_deprecated_apis{removed_release="1.38"}

This shows that something calls the API, not what. The audit log identifies the client: requests to deprecated API versions carry the annotation k8s.io/deprecated: "true", plus k8s.io/removed-release when a removal release is set.

The metric only sees clients that are active. Manifests in Git and Helm charts that haven't been deployed recently need a static scan:

Tool Status checked on 16 November 2026 Note
Pluto (Fairwinds) Active; v5.24.5 released 3 November 2026 Its version data lists removals up to v1.36. Pass the target yourself (--target-versions k8s=v1.37.0); the built-in default is years old
kubent (kube-no-trouble) Stale: the latest release, 0.7.3, dates from August 2024 Its rule files stop at v1.32, so a clean result says nothing about later releases

Neither the metric nor a scanner sees objects already stored in etcd at an old version. The upgrade documentation warns that such objects must be rewritten at a current version or they end up undecodable; StorageVersionMigration, GA in v1.37, automates that rewrite.

On a test cluster, the migration guide's --runtime-config=<group>/<version>=false on the API server simulates a removal.

3. Audit PodDisruptionBudgets

Every node will be drained, and a drain respects PDBs. A budget that allows zero disruptions blocks it indefinitely.

kubectl get pdb -A

Anything with ALLOWED DISRUPTIONS at 0 on a healthy cluster will stop a drain. The usual causes are minAvailable equal to the replica count and maxUnavailable: 0. The PodDisruptionBudget article covers how to find and fix them.

With the default policy, a PDB can also block the eviction of pods that are already broken. The drain documentation recommends setting unhealthyPodEvictionPolicy: AlwaysAllow on PDBs "to support eviction of misbehaving applications during a node drain".

The opposite problem deserves the same attention: a drain removes workloads with no PDB and no spare replica without objection. List Deployments with one replica and decide for each whether a short interruption is acceptable.

4. Check admission webhooks

The skew policy names webhooks as a prerequisite for upgrading the API server: they must be able to handle the new versions of resources and any new fields the upgraded server sends them.

There is also an operational trap. A webhook with failurePolicy: Fail rejects requests when it can't be reached. If its pods are all on the node being drained, pod creation can stop cluster-wide in the middle of the upgrade, including the creation of the webhook's own replacement.

kubectl get validatingwebhookconfigurations,mutatingwebhookconfigurations -o json \
  | jq -r '.items[] | .metadata.name as $c | .webhooks[]?
    | [.failurePolicy, $c, .name,
       (.clientConfig.service | if . then "\(.namespace)/\(.name)" else "external URL" end)]
    | @tsv'

The last column is the Service behind the webhook, which tells you whose pods to look at. For each webhook with Fail: at least two replicas on different nodes, a PDB, and a namespace selector that excludes its own namespace and kube-system. The admission webhooks article covers this in depth.

5. Check add-on compatibility

Kubernetes doesn't upgrade your CNI plugin, CSI drivers, ingress controller, service mesh, cert-manager, policy engine or GitOps controller. Each publishes the Kubernetes versions it supports. List them: running version, whether it supports the target, and whether it moves before or after.

The usual order is add-ons first, to a version that supports both releases, then Kubernetes. kubeadm upgrades CoreDNS and kube-proxy for you; the kubeadm guide says explicitly that the CNI plugin is yours to upgrade. If you run device plugins, the cluster upgrade page notes they must support both API versions before the node is upgraded.

6. Take a backup you have restored before

On self-managed clusters, take an etcd snapshot immediately before the control plane upgrade and store it off the control plane nodes. The etcd article covers how. kubeadm upgrade doesn't touch workloads, so application data needs its own backup.

Control plane first

For kubeadm clusters, the documented sequence is one control plane node at a time:

# First control plane node, after upgrading the kubeadm package
sudo kubeadm upgrade plan
sudo kubeadm upgrade apply v1.37.x

# Other control plane nodes
sudo kubeadm upgrade node

# Then, on each control plane node in turn
kubectl drain <node> --ignore-daemonsets
# upgrade the kubelet and kubectl packages
sudo systemctl daemon-reload && sudo systemctl restart kubelet
kubectl uncordon <node>

kubeadm upgrade plan checks that the cluster can be upgraded; kubeadm upgrade apply enforces the skew policy. A few behaviours from the guide are worth knowing in advance:

With one control plane node, the API is unavailable while its components restart: running workloads carry on, but nothing can be scheduled, scaled or deployed. For manually deployed control planes the documented order is etcd, kube-apiserver, kube-controller-manager, kube-scheduler, then the cloud controller manager.

After the control plane, check before moving on: all nodes Ready, system pods running, and one real deployment rolled through end to end.

Nodes: replace or upgrade in place

The upgrade documentation offers both: drain a node, "then either replace it with a new node that uses the new kubelet, or upgrade the kubelet on that node and bring the node back into service". Draining isn't optional for a minor version: the skew policy says in-place minor kubelet upgrades without a drain are not supported.

Replace nodes (surge) Upgrade in place
Capacity during the upgrade Stays level or rises: new nodes join before old ones drain Drops by the nodes being worked on
Extra cost Temporary extra nodes; needs quota and spare IP addresses None
Node state Fresh image; OS, kernel and runtime move too Whatever accumulated on the node remains
Going back Keep the old pool cordoned until you are satisfied Reinstall the old packages on each node

Replacing is the better default where you can do it, because capacity doesn't dip and the old pool is your way back. With in-place upgrades the capacity question is yours: do the remaining nodes have room for everything, inside PDBs and topology spread constraints? If the answer is "barely", upgrade one node at a time.

Whichever you choose:

What "rollback" really means

Plan as though a self-managed control plane upgrade can't be reversed. The Kubernetes documentation describes no downgrade procedure: the skew policy covers the upgrade order only, and what the kubeadm guide documents is recovery from a failed upgrade. kubeadm upgrade apply rolls back by itself if a component fails to come up. If it is interrupted, you can run it again: it is idempotent. It leaves backups of the static pod manifests and of the local etcd member's data under /etc/kubernetes/tmp, to restore by hand if the automatic rollback didn't work.

Once the new control plane has been serving traffic, going back means restoring the etcd snapshot. The etcd documentation requires stopping all API server instances first, and only supports restoring a snapshot taken by the same etcd minor version, which matters if the upgrade also moved etcd. A snapshot holds the whole keyspace at one moment: every Deployment change, Secret, scaling decision and Lease since then is gone, while the nodes still run whatever was started afterwards. That is a disaster recovery procedure, to be used when the alternative is worse.

Below the control plane there is more room. Nodes can go back: keep or recreate a pool on the old kubelet version, which the skew policy allows. Add-ons roll back on their own terms, if their data format allows it.

Control plane components also have an --emulated-version flag, which the documentation dates to v1.32: a new binary keeps the APIs and features of an earlier minor, so the binary upgrade and the behaviour change become two steps. The v1.37 kube-apiserver reference gives the range as 1.34 to 1.37; the documentation presents it as a finer-grained upgrade, not as a way back.

So spend the effort before the upgrade. A staging cluster that gets each minor version ahead of production, with the same add-ons and admission policies, is the rollback plan.

Managed versus self-managed

A managed service runs the control plane upgrade for you, on a timetable that is yours only until its support window ends. The pre-flight doesn't change: the provider doesn't know about your webhooks, your PDBs or your manifests. The providers' own documentation, as read on 16 November 2026, says this about forced upgrades, blocked drains and rollback:

Checklist

A week before

  1. Cluster is on the latest patch of its current minor.
  2. Release notes read for every minor being crossed.
  3. apiserver_requested_deprecated_apis shows nothing removed in the target; Git and Helm scanned.
  4. No PDB at zero allowed disruptions; single-replica workloads reviewed.
  5. Every Fail webhook has two replicas, a PDB and sane selectors.
  6. Add-on compatibility table complete; add-ons upgraded where needed.
  7. Staging has run the target version with production's add-ons.

On the day

  1. etcd snapshot taken and copied off the control plane (self-managed).
  2. Control plane upgraded one instance at a time; cluster checked before touching nodes.
  3. One node first, then wait.
  4. Remaining nodes in batches sized to your spare capacity, with a drain timeout.

Afterwards

  1. All nodes report the expected version: kubectl get nodes.
  2. Old node pools removed, kubeadm backup directories cleaned up.
  3. kubectl and CI tooling updated to within one minor.