Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the use of a pause image in Kubernetes?

It seems that on Windows Kubernetes starts a pause image for each pod that is created. What is the purpose of this pause image? Where can I find more documentation about it?

like image 548
lanoxx Avatar asked Nov 12 '18 08:11

lanoxx


1 Answers

The pause container is a container which holds the network namespace for the pod. Kubernetes creates pause containers to acquire the respective pod’s IP address and set up the network namespace for all other containers that join that pod.

references:

1, https://www.ianlewis.org/en/almighty-pause-container

2, https://groups.google.com/forum/#!topic/kubernetes-users/jVjv0QK4b_o

3, https://github.com/kubernetes-sigs/cri-o/issues/91

like image 193
Ananthu R V Avatar answered Sep 20 '22 16:09

Ananthu R V