<p>In my scenario, our package from gitlab is already implemented pipeline to deploy kubernetes pod on remote host server. If I want to edit/open folder on kubernetes pod of the container using vscode, is it doable for vscode?</p>

<p>Official Visual Studio Code documentation <a href="https://code.visualstudio.com/docs/remote/attach-container#_attach-to-a-container-in-a-kubernetes-cluster" rel="nofollow noreferrer">shows</a> how to attach to a running container, also <a href="https://code.visualstudio.com/docs/remote/attach-container#_attach-to-a-container-in-a-kubernetes-cluster" rel="nofollow noreferrer">inside Kubernetes cluster</a>.</p>
<hr />
<p>However, using <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/" rel="nofollow noreferrer">Persisent Volumes</a> may be a better approach.</p>
<p>Files modified in a &quot;local&quot; directory are simultaneously modified in attached volume (this is a bit more complicated but lets go with that for the sake of example), and they persist between pod restarts.</p>
