REST API, mission 5 of 7
Out of memory
intermediate, about 10 minutes, in the Kubernetes Simulator
Opens once you pass Ready when it's ready.
The briefing
Someone tightened the orders pods' memory to save money. Now they won't stay up.
A memory limit is a hard ceiling: go over it and the kernel kills the process — OOMKilled, exit code 137. A request is what the scheduler reserves for the pod. Set the limit from what the app really uses, with room to spare.
What you'll do
- Find out what is killing the pods
- 2 orders pods ready and staying up, with a memory limit they fit in
- Bonus star: See real usage with kubectl top pods
The mission checks the cluster, not your keystrokes: any fix that works, passes.
Read first
More REST API missions
- 1. Config, not code
- 2. Read at start
- 3. CrashLoopBackOff
- 4. Ready when it's ready
- 5. Out of memory
- 6. Launch-day traffic
- 7. Rotate the password