<p>When running microservices in AWS using their EKS platform.  There are environment variables with secrets for most of the services, but some of the microservices also need to use json config files (appsettings.json).  It works fine once deployed.  </p>

<p>How do you edit these config files in EKS without having to redeploy? </p>

<p>Thanks!</p>

Timothy Shenton
<p>Once you deploy some application, it has all its dependencies loaded up in the place let's say in the container running in K8s. </p>

<p>Kubectl cp from local to the Pod is something you can try, I guess that should help.</p>

<pre><code>kubectl cp /local/path namespace/podname:path/to/directory
</code></pre>
