<p>I am modify config maps environment from DEV to FAT, and now I want to make it works in all my pods in dabai-fat name space.How to restart all pods in the namespace? If I modify one by one it is too slow, and my deployment service have more than 20 now. How to enable the config the easy way?</p>

Dolphin
<blockquote>
  <p><strong>You should prefer mounted config maps for your solution where you will not need POD restart</strong>.</p>
</blockquote>

<p>Kubelet is checking whether the mounted ConfigMap is fresh on every periodic sync.</p>

<p>Total delay from the moment when the ConfigMap is updated to the moment when new keys are projected to the pod can be as long as kubelet sync period (1 minute by default) + ttl of ConfigMaps cache (1 minute by default) in kubelet. You can trigger an immediate refresh by updating one of the pod’s annotations. Important to remember that  container using a ConfigMap as a subPath volume will not receive ConfigMap updates.</p>

<p><a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#add-configmap-data-to-a-volume" rel="nofollow noreferrer">How to Add ConfigMap data to a Volume</a></p>
