Kubernetes & Operations
Resource requests, limits and QoS classes
A request is a reservation the scheduler uses, a limit is a ceiling the kernel enforces, and they fail in opposite ways: one leaves Pods Pending on a nearly idle node, the other kills them at 137.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Kubernetes & Operations
- Service discovery and CoreDNSBeginner · 5 min
Inside a Pod, orders resolves and orders.prod resolves, but a name like api.partner.com quietly costs four lookups. The reason is three lines in a file the kubelet…
- ConfigMaps and SecretsBeginner · 6 min
The same image runs in staging and production because settings live outside it. Two details cause most incidents: environment variables never update in a running Pod…
- Volumes, PersistentVolumes and PVCsIntermediate · 6 min
A container's filesystem disappears with the container, a volume can outlast it, and a PersistentVolumeClaim is how a Pod asks for disk without knowing where the disk is.
- Debugging order: Pending, ImagePullBackOff, CrashLoopBackOff, OOMKilledIntermediate · 6 min
Four status words, four different places to look. A fixed order of commands, get, describe, logs, then exec, finds the cause in minutes and, equally important, does not…
- Capstone: ship an app to Kubernetes, then fix three broken onesIntermediate · 5 min
Deploy a small app with probes, limits and config, then diagnose three deliberately broken copies against a clock. The score is your method and what you say when you…
- Pods: containers that share a network and storageBeginner · 6 min
A Pod is not a container with a new name. It is a small shared environment, which is why a log shipper can read your app's files and a bare Pod does not come back when…