Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save edtshuma/34a7bf04efbf6fc8c2c55e9708299856 to your computer and use it in GitHub Desktop.
Save edtshuma/34a7bf04efbf6fc8c2c55e9708299856 to your computer and use it in GitHub Desktop.
Generate k8s deployment manifest files after using helm
for dep in $(kubectl get deployment | awk '{print $1}'); do kubectl get deployment $dep -o yaml > $dep.yml; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment