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

jhooq

Rahul Wagh

Posted on March 14, 2021

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

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
💖 💪 🙅 🚩
jhooq
Rahul Wagh

Posted on March 14, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related