Back to all scenarios
Scenario #79
Cluster Management
K8s v1.21, GKE
Missing Namespace After Cluster Upgrade
A namespace was missing after performing a cluster upgrade.
Find this helpful?
What Happened
After upgrading the cluster, a namespace that was present before the upgrade was no longer available.
Diagnosis Steps
- 1Checked the cluster upgrade logs and identified that a namespace deletion had occurred during the upgrade process.
- 2Verified with backup and confirmed the namespace was inadvertently deleted during the upgrade.
Root Cause
An issue during the cluster upgrade process led to the unintentional deletion of a namespace.
Fix/Workaround
• Restored the missing namespace from backups.
• Investigated and fixed the upgrade process to prevent future occurrences.
Lessons Learned
Always backup critical resources before performing upgrades and test the upgrade process thoroughly.
How to Avoid
- 1Backup namespaces and other critical resources before upgrading.
- 2Review upgrade logs carefully to identify any unexpected deletions or changes.