Answer the question
In order to leave comments, you need to log in
How to update k8s pod when updating container on Docker hub?
There is a cluster on EC2. The nodes of this cluster have pods that lift the docker container from the hub. The question is, how to automatically update and under when updating the container on the hub? Or will it pull up the changes itself if there is a :latest tag? Well, or not automatically, since I am now doing it through a stump deck, as it seems to me
kubectl scale deployment some-pod-name --replicas=0
after that i just do it againkubectl apply -f pod-deployment.yaml
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question