An image resizer that keeps running out of memory
A batch pod has restarted dozens of times. Read its events and logs with kubectl and find out why an image resizer wants 2 GB of RAM and a mining pool.
- Terminal mission
- Beginner
- 3 questions
- 0 of 3 solved
Your goal
Your goalFind out why an image resizer keeps crashing and what it is really doing.
The data team’s batch namespace is noisy today: one pod has been in CrashLoopBackOff all night, and the node it lands on keeps hitting 100% CPU.
kubectl get pods shows restarts and status, kubectl get events explains them, and kubectl logs shows what the container printed before it died.
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
- GB
- gigabyte
- RAM
- the computer’s working memory
- CPU
- central processing unit, the processor
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: 254 words, about 2 min. It gives away every answer, so try the steps first.