Build kustomization
Render all manifests for an overlay to stdout
kustomize build ./overlays/prod
More kustomize commands
-
kubectl apply -k ./overlays/prodBuild and apply kustomization in one step via kubectl
-
kubectl diff -k ./overlays/prodShow what changes before applying
-
kustomize edit add resource ./deployment.yamlAppend a resource file to kustomization.yaml
-
kustomize edit set image myapp=registry/myapp:v2.0.0Update image tag in kustomization.yaml
-
kustomize edit set namespace productionOverride namespace for all resources in the overlay