Kubernetes image configuration in ConfigMap Kubernetes image configuration in ConfigMap kubernetes kubernetes

Kubernetes image configuration in ConfigMap


A straightforward solution is to trigger a rolling update of your deployment by using kubectl set image:

kubectl set image deployment/foobar <container_name>=<new_image:new_tag>

and you can use your git commit id as image tag.