How do you find deprecated or removed APIs before an upgrade?
IntermediateScenarioUpgrades, etcd, disaster recovery and incidents
Answer
Situation read → Manifests use policy/v1beta1.
What I'd do →
- Run Pluto:
pluto detect-files -d manifests/andpluto detect-helm - Or kubent against the cluster
- Check API server metric
apiserver_requested_deprecated_apis - Update manifests and Helm charts
- Test in staging
Why → Removed APIs break applies and controllers after upgrade.
Interview tip → Show you check before, not after.
More on Upgrades, etcd, disaster recovery and incidents
How do you back up etcd on a self-managed cluster?BeginnerHow do you restore a cluster from an etcd snapshot?Advancedetcd database space exceeded: `mvcc: database space exceeded`. What now?AdvancedWalk through a kubeadm minor version upgrade.AdvancedA cluster upgrade broke an operator because its CRD API version was removed. How do you recover?AdvancedWhat are the main control plane components and what does each do?Beginner