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?.
Inspect environment variables and Kubernetes deployment/service yaml
and support deployment name is hello
then like you get yml change hello
with deployment name
kubectl get deploy/hello -o yaml
kubectl get svc/hello -o yaml