Skip to main content
RunBook Academy

← All checklists in Kubernetes

Before deploymentkubernetes-pre-upgrade

Pre-Upgrade Checklist

12 items ·11 critical ·1 warn ·0 info

How to use this checklist

Work this list before the maintenance window, not during it. The items that most often stop an upgrade are the deprecated APIs and the CNI or CSI version matrix, and both take days to resolve rather than minutes.

Mark an item N/A when it genuinely does not apply, and write down why. An unexplained N/A is the most common way a checklist stops working.

Sign-off

Every critical item must pass. A failing critical item blocks the deployment or the maintenance window; it is not a note for later. Record the date, the reviewer, and the disposition of every item that did not pass.

Critical11 items

  1. kubectl version
  2. kubectl get --raw /metrics | grep apiserver_requested_deprecated_apis
  3. etcdctl snapshot save /backup/pre-upgrade-$(date +%F).db
  4. kubeadm certs check-expiration
  5. kubectl get nodes && kubectl get pods -A --field-selector=status.phase!=Running
  6. kubectl get pdb -A -o custom-columns=NS:.metadata.namespace,NAME:.metadata.name,ALLOWED:.status.disruptionsAllowed

Warning1 item