<p>I have a Kubernetes cluster which utilizes Vault secrets. I am attempting to modify the <code>conf.hcl</code> that was used to establish Vault.  I went into the pod which contains Vault, and appended:</p>

<pre><code>max_lease_ttl = "999h" 
default_lease_ttl = "999h"
</code></pre>

<p>I did attempt to apply the changes using the only server option available according to the documentation, but failed due to it already being established:</p>

<pre><code>vault server -config conf.hcl
Error initializing listener of type tcp: listen tcp4 0.0.0.0:8200: bind: address already in use
</code></pre>

Brian Johnson
<p>You can't reinitialize in the pod since it's the port is already bound on the containers (Vault is already running there).</p>

<p>You need to restart the pod/deployment with a new config. Not sure how your Vault deployment is configured but the config could be in the container itself, or in some mounted volume or perhaps a <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" rel="nofollow noreferrer">ConfigMap</a>.</p>
