Q: How do you check what labels are on a node?
kubectl get node <n> --show-labels or kubectl describe node <n>. Add labels: kubectl label node <n> key=value.
#Kubernetes #Additional Kubernetes Scenarios (Q101-Q200) #L2 #Container Orchestration #K8s
🎙️ 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
kubectl get node or kubectl describe node . Add labels: kubectl label node .
💡 The Senior SRE Gold Nugget (Key Architectural Takeaway)
"Pro-Tip: kubectl get node --show-labels or kubectl describe node . Add labels: kubectl label node key=value.."
⚡ 60-Second Elevator Pitch Talking Points
- Immediate Triage: kubectl get node --show-labels or kubectl describe node . Add labels: kubectl label node key=
- Run targeted verification commands before modifying configuration.
- Automate permanent guardrails (CI check, alerts, IaC policy) to prevent recurrence.
Advertisement