Scenarios · Kubernetes · S6.1 · 12 min · L0

Applied here, looking there

The deploy said created. The cluster says No resources found. Both are telling the truth.

✓ Validated on v1.37.2 · Run 1 · 2026-11-21Preview

The story

Lakshmi runs the late-night canteen's website. She copies a manifest from a teammate and runs kubectl apply. It says created. She runs kubectl get pods. It says No resources found. She applies again: unchanged. Kubernetes says the canteen exists, and that it does not. The canteen is serving customers right now, in the next room.

1 · Predict first

The canteen is serving visitors. You run a plain kubectl get pods, with no -n. What do you see?
The manifest names its own namespace. Where does kubectl apply create the Deployment?

Where you will meet this at work

  • A copied manifest with a hard-coded namespace.
  • Several clusters in one kubeconfig, and a command run on the wrong one.
  • A Helm release installed into a namespace you forgot to look in.

Keep going