export_yaml
Differences
This shows you the differences between two versions of the page.
| export_yaml [2025/07/26 17:09] – - Imported by DokuWiki Advanced Plugin wikiadm | export_yaml [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Export YAML ====== | ||
| - | <code bash> | ||
| - | kubectl get deploy --all-namespaces -o yaml --export | ||
| - | kubectl get deploy, | ||
| - | </ | ||
| - | <code bash generate-yaml.sh> | ||
| - | for n in $(kubectl get -o=name pvc, | ||
| - | do | ||
| - | mkdir -p $(dirname $n) | ||
| - | kubectl get -o=yaml $n > $n.yaml | ||
| - | done | ||
| - | </ | ||
export_yaml.1753560543.txt.gz · Last modified: by wikiadm
