How do you do a safe node maintenance (patching) operation?
BeginnerProductionUpgrades, Backup & Disaster Recovery
Answer
Cordon the node, drain with --ignore-daemonsets --delete-emptydir-data --timeout=5m, patch/replace, uncordon, and watch rescheduling. Do it one node (or one batch limited by PDBs) at a time; automate by replacing nodes (immutable) instead of patching in place.
More on Upgrades, Backup & Disaster Recovery
What is your cluster upgrade cadence and why?BeginnerWhat do you check before upgrading a cluster?BeginnerWhat is Velero and what does it back up?BeginnerWhich things are NOT recoverable by just restoring etcd or manifests?BeginnerWhat are RPO and RTO and how do they drive Kubernetes DR design?BeginnerWhat does a production-grade etcd backup strategy look like (frequency, off-cluster storage, restore drills)?Beginner