<p>I have deleted my deploy yaml (mistake). I need to know if kubernetes keep a copy of this file in the worker nodes. Can I get this file in any container of the worker nodes?. </p>

<ul>
<li>For example I retrieve files from pods because after delete my master container of my pods there are still running in the worker nodes</li>
</ul>

Juan
<p>Inspect environment variables and Kubernetes deployment/service yaml</p>

<p>and support deployment name is <code>hello</code> then like you get yml
change <code>hello</code> with <code>deployment name</code> </p>

<pre><code>kubectl get deploy/hello -o yaml
kubectl get svc/hello -o yaml
</code></pre>
