V
V
Vadim2022-01-24 15:59:49
Docker
Vadim, 2022-01-24 15:59:49

What happens to a Kubernetes pod that uses a private image when a node dies?

Hello everyone,

such a question ... there is a Deployment pipeline that logs into a remote Docker repository and then deploys Kubernetes pod from it in a single instance (one replica). On the node where this pod runs, if you run the image ls command on it

$ docker image ls
REPOSITORY                         TAG         IMAGE ID            CREATED        SIZE
private: renovate/renovate   28.1a        8jh5d75941df    3 days ago      3.77GB


you can see the saved image, which just works on it as a pod. What happens when a node dies, where does kubernetes take an image to restore a pod on another node - login credentials for a private Docker repository are generated using the CI / CD pipeline

Good luck to everyone,
Vadim

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question