Set the namespace
Set one namespace for all resources in the overlay
kustomize edit set namespace production
More kustomize commands
-
kustomize edit add label env:productionAdd a common label to all generated resources
-
kustomize edit add patch --path patch.yaml --kind Deployment --name <name>Register a strategic merge patch for one Deployment in kustomization.yaml
-
kustomize cfg list-setters .List all setters (settable fields) in the current directory
-
kubectl apply -k ./overlays/prodBuild and apply a kustomization in one kubectl command
-
kubectl kustomize ./overlays/prod | head -100Render the kustomize output without applying it (first 100 lines)