Add a label to all resources
Add a common label to all generated resources
kustomize edit add label env:production
More kustomize commands
-
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)
-
kustomize edit set image myapp=myapp:v1.2.3Update the image tag in kustomization.yaml