Materials by lefteris alexakis

All materials

Tutorial

Kubernetes Resource Limits in Practice: OOMKills, CPU Throttling, QoS, and LimitRanges

A Pod keeps crashing because it runs out of memory and the kernel kills it. Debug that CrashLoopBackOff, then learn how Kubernetes handles CPU and memory.Why a memory limit kills a container but a CPU limit only throttles it, how requests and limits set a Pod's Quality of Service and eviction order, and how a LimitRange sets sane defaults for a whole namespace.

Kubernetes Resource Limits in Practice: OOMKills, CPU Throttling, QoS, and LimitRanges (cover image)
See all tutorials by lefteris alexakis →
Challenge

Guaranteed on Paper

A Pod has two containers, and each one sets requests equal to limits, the textbook recipe for Guaranteed. Yet the Pod is Burstable. Figure out why, and bring it to the Guaranteed QoS class.

Challenge

The Phantom Memory Limit

A multi-container Pod has one container stuck in CrashLoopBackOff. The Deployment sets a generous pod-level memory limit, yet raising it changes nothing. Find which container is dying, work out where its real limit comes from, and bring the whole Pod to a stable Running/Ready state.

See all challenges by lefteris alexakis →