Q: How do you upgrade Kubernetes version with zero downtime?
Upgrade control plane first (API server, etcd, scheduler). Then drain, upgrade, uncordon worker nodes one by one.
#Kubernetes #Advanced Scenarios #L3 #Container Orchestration #K8s #etcd
🎙️ Candidate Opening & Architectural Context
""Kubernetes is a declarative desired state system; understanding the reconciliation loop is how you diagnose this quickly. When addressing this question, I walk the interviewer through our production incident runbook: isolating the blast radius, checking diagnostic logs and metrics, and applying a safe fix.""
Advertisement
🛠️ Production Runbook & Step-by-Step Resolution
1️⃣
Production Solution & Architecture
Upgrade control plane first (API server, etcd, scheduler). Then drain, upgrade, uncordon worker nodes one by one.
💡 The Senior SRE Gold Nugget (Key Architectural Takeaway)
"Pro-Tip: Upgrade control plane first (API server, etcd, scheduler). Then drain, upgrade, uncordon worker nodes one by one.."
⚡ 60-Second Elevator Pitch Talking Points
- Immediate Triage: Upgrade control plane first (API server, etcd, scheduler). Then drain, upgrade, uncordon worker
- Run targeted verification commands before modifying configuration.
- Automate permanent guardrails (CI check, alerts, IaC policy) to prevent recurrence.
Advertisement