Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (12.7k points)
How do I get the YAML for the Deployment, Service and Pod created by Kubernetes by filling in the form?

1 Answer

0 votes
by (29.5k points)

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

Browse Categories

...