Back
In order to get the yaml for deployment pass the following command
kubectl get deploy <deploymentname> -o yaml --export
if your deployment is not in conventional namespace then
kubectl get deploy --all-namespaces -o yaml --export
for more information on deployments checkout the following video tutorial
31k questions
32.8k answers
501 comments
693 users