Scenarios · Kubernetes · S2.1 · 12 min · L0
The label on the wrong object
The label is right there. Kubernetes is looking somewhere else.
✓ Validated on v1.37.2 · Run 1 · 2026-11-18Preview
The story
It's the first evening of the college fest. Meera runs the samosa stall: two fryers (Pods) behind one signboard (a Service). She did the tidy thing and put the badge app: samosa on the Deployment. Ask the Deployment and the badge is right there. It is exactly what the signboard looks for. Both fryers are hot and Running. And the visitor at the counter keeps saying nobody is serving samosas.
1 · Predict first
Where you will meet this at work
- Helm charts that write the top-level labels and the Pod template labels in two places, and only one got updated.
- Someone runs kubectl label deployment and expects the Pods to change.
- A 2 AM kubectl label pod that worked until the next deploy wiped it.