How do you restore a single namespace or accidentally deleted resource?
IntermediateProductionUpgrades, Backup & Disaster Recovery
Answer
With GitOps, revert the Git commit and let the controller recreate it; for PVs restore from snapshot. With Velero, velero restore create --from-backup daily-2026-11-08 --include-namespaces shop, mapping to a new namespace first (--namespace-mappings) to compare before replacing. Check that finalizers or owner references do not recreate stale state.
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