devops7 min read

Kubernetes v1.35: New Level of Efficiency with In-Place Pod Restart

20 similar posts
  • Kubernetes

AI Summary

Kubernetes v1.35 introduces an alpha feature called 'Restart All Containers', designed to perform an in-place restart of Pods without deleting and recreating them. Enabled via the RestartAllContainersOnContainerExits feature gate, this mechanism preserves the Pod's UID, IP address, network namespace, sandbox, and attached volumes while re-running init containers and regular containers from scratch. This significantly reduces overhead for large-scale AI/ML workloads and batch processing by avoiding scheduler bottlenecks and node reallocation costs.

Why it matters

Deleting and recreating Pods in large clusters (such as 1,000+ node AI/ML deployments) introduces severe scheduling and networking overhead, costing thousands of dollars in wasted resources. In-place Pod restarts reduce recovery times from minutes to seconds while keeping Pods assigned to their nodes for caching benefits.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.