kubectl export YAML | Get YAML for deployed kubernetes resources(service, deployment, PV, PVC....)

Опубликовано: 15 Сентябрь 2024
на канале: Rahul Wagh
3k
30

==================================
Guide -

==================================

In this lab session on "How to export the YAML using kubectl?" we will focus on -

1. Individual yaml -
kubectl get service SERVICE_NAME
kubectl get deployment DEPLOYMENT_NAME
2. All deployed resources -
Kubectl get deploy --all-namespaces
3. Automated Bash Script to generate YAMLs for everything running inside kubernetes cluster


Timestamps:
3:05 - Export the YAML for service
5:41 - Export the YAML for all the services running inside kubernetes cluster
7:26 - Export the YAML for deployment
8:46 - Export the YAML for all the deployments running inside kubernetes cluster
9:45 - Bash/Shell script to export the YAML

To read more about Kubernetes -
For more similar content follow up on -


Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.

Video is copyrighted and it can not be re-distributed on any platform.