Set namespace
Override namespace for all resources in the overlay
kustomize edit set namespace production
More kustomize commands
-
kustomize edit add label env:productionInject a common label into all generated resources
-
kustomize edit add patch --path patch.yaml --kind Deployment --name <name>Register a strategic merge patch in kustomization.yaml
-
kustomize cfg list-setters .List all settable fields in the kustomization
-
kubectl apply -k ./overlays/prodBuild kustomize overlay and apply directly to cluster
-
kubectl kustomize ./overlays/prod | head -100Render kustomize output without applying