Kubernetes Labsby OpenLume

0 of 15

123456789101112131415

Puzzle 15 of 15 · Storage · Medium

PersistentVolumeClaim stuck Pending

Interview question
A PersistentVolumeClaim is stuck Pending and the pod that uses it will not start. How do you debug it?

Uploads has nowhere to keep files. Uploads was moved to this cluster yesterday. Its pod has never started, and the storage it asked for has never arrived.

Find the cause, then fix it by running a command that changes the cluster. Type help to see every command.

curl http://uploads503 Service Unavailable

0 commands, no hints

Users

TapClick anything in the picture to fill in its command, then press Enter.

you@k8s-labs: ~
# A broken cluster is waiting. Start with: kubectl get pods # Type help to see every command this cluster understands.
you@k8s-labs:~$

All puzzles

Your progress0 of 15 solved

Networking

  • 1Service has no endpointsEasy
  • 2Connection refused on the right ServiceEasy
  • 3Service not found from another namespaceMedium
  • 4NetworkPolicy blocks trafficMedium

Scheduling

  • 5Pods stuck PendingEasy
  • 6Node had untolerated taintMedium
  • 7Node didn't match the pod's node selectorMedium
  • 8Node NotReadyMedium

Workloads

  • 9CrashLoopBackOffEasy
  • 10ImagePullBackOffEasy
  • 11Readiness probe failedMedium
  • 12OOMKilledMedium
  • 13Downtime during a rolling updateHard

Config

  • 14CreateContainerConfigErrorMedium

Storage

  • 15PersistentVolumeClaim stuck PendingMedium · playing now
The cluster is simulated: it runs in your browser, understands the kubectl commands listed by help, and your commands never leave it. Your progress is saved in this browser. We count visits and solves, nothing else.