A debug pod with the whole node mounted
List pods across namespaces, read their security contexts as JSON, and find the privileged pod that mounts the node’s root filesystem into a container.
- Terminal mission
- Beginner
- 3 questions
- 0 of 3 solved
Your goal
Your goalFind the debug pod that can read and write the whole node.
The payments namespace is supposed to run only images from registry.corp.example with a locked-down security context. An alert says something in it is running as privileged.
kubectl get pods -A lists every pod. -o json gives the full spec, and jq picks out securityContext, volumes, and nodeName without scrolling.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words to know
- JSON
- JavaScript Object Notation, a text format of fields and values
ops-bastion · Kubernetes review
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Kubernetes review
The whole walkthrough
Every step in order: 253 words, about 2 min. It gives away every answer, so try the steps first.