Hi, I have updated the configmap details and redeploy the pod, but new config v . . .

Naren:
Hi,
I have updated the configmap details and redeploy the pod, but new config values are not reflected into pod. When the existing pod is deleted, then only config values are reflected in the new created pod. Can we updated the config values without deleting the pod?

Mumshad Mannambeth:
Hi Naren. You will not be able to update config map values for existing containers running in a pod. Only when the container is recreated will the new values be reflected.

Naren:
If redeploy the pods, pod has not recreated. So the updated configmap values are not taking the running pod(Either delete the pod then created new pod with updated config values or update the code in deployment file then recreate the pod with updated configmap values). For recreation the pod, can I need to add any command on Deployment file without changes the code on Every time?