<p>When having configmap update, how to automatically trigger the reload of parameters by the application? Application uses POSIX signals for that.</p>

<p>Depending on how you are consuming the configmap values, there could be two ways in which you can reload the configmap updates into a running pod.</p>

<ul>
<li><p>If you are consuming the configs as environment variables, you can write a controller, which watches for the updates in configs and restarts your pods with new config whenever the config changes.</p></li>
<li><p>If you are consuming the configmap via volumes, you can watch for file changes and notify that to your process in the container and handle the update in application. Please see <a href="https://github.com/jimmidyson/configmap-reload" rel="nofollow noreferrer">https://github.com/jimmidyson/configmap-reload</a> for example.</p></li>
</ul>
