Build a kustomization
Render all manifests of 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 will change before you apply
-
kustomize edit add resource ./deployment.yamlAdd a resource file to kustomization.yaml
-
kustomize edit set image myapp=registry/myapp:v2.0.0Update the image tag in kustomization.yaml
-
kustomize edit set namespace productionSet one namespace for all resources in the overlay