Skip to main content

Why does kubelet maintain a pod sandbox even when containers crash?

Expert Kubernetes
Quick Answer The pod sandbox is the network namespace and cgroup hierarchy for the Pod รขโ‚ฌโ€ created once when the Pod is scheduled. It persists across container restarts. Even if all containers in the Pod crash and restart, the sandbox (Pod IP, network, volumes) stays stable. This is why Pod IP doesn't change when a container restarts inside it.

Answer

Sandbox holds Pod-level namespaces ensuring stable networking and IPs across restarts.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice