Skip to content

9.2. Container Internals & Kubernetes in Production

A container is not a lightweight VM; it is a normal Linux process wrapped in namespaces and cgroups that constrain what it can see and consume. Knowing exactly what those primitives do is the difference between guessing at an OOMKill and understanding it. This chapter descends below the Kubernetes abstractions into container internals, the resource-management model (requests, limits, QoS, CPU throttling) that decides who gets killed under pressure, cluster networking, persistent storage, graceful termination, and the autoscaling that sizes the cluster itself.