Interview Prep/Kubernetes/Pods & Workloads

What are in-place Pod resize and ephemeral containers?

AdvancedConceptPods & Workloads
Answer

Ephemeral containers (GA 1.25) let you inject a debug container into a running Pod without restarting it: kubectl debug -it pod/web --image=busybox --target=app. In-place Pod resize (beta in 1.33) lets you change CPU and memory requests/limits on a running Pod via the resize subresource, with a resizePolicy per container saying whether a restart is needed.

All Kubernetes questions Roadmap: Kubernetes core

More on Pods & Workloads