<p>We have springboot application running as a pod , it picks from application.properties from configmap. When we update configmap this change is not picked up springboot aplication , we need to restart the application to pick new property change.
Can we do this without restarting the sringboot application pod to pick new properties.</p>

niranjan pb
<p>No, ideally you can not do it, you need to restart the POD if you are using the config map.</p>
<p>However, you can set the auto reloader which will do work for you, whenever <strong>configmap</strong> will get updated it will <strong>auto restart</strong> the PODs of deployment so you won't need to manually restart the PODs.</p>
<p>You can read more about it here <strong>Reloader</strong> : <a href="https://github.com/stakater/Reloader" rel="nofollow noreferrer">https://github.com/stakater/Reloader</a></p>
<p><strong>Or else</strong></p>
<p>you can export the variable with this command however it not permanent solution</p>
<pre><code>kubectl exec -it &lt;pod_name&gt; export VARIABLENAME=&lt;value&gt;
</code></pre>
