kustomize create
Create a new kustomization in the current directory
The kustomize create command will create a new kustomization in the current directory.
When run without any flags the command will create an empty kustomization.yaml file that can then be updated manually or with the kustomize edit sub-commands.
Example command:
kustomize create --namespace=myapp --resources=deployment.yaml,service.yaml --labels=app:myapp Output from example command:
apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - deployment.yaml - service.yaml namespace: myapp commonLabels: app: myapp Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified February 25, 2022: applied suggested changes following review (09b78c6)