Kustomize
Easy
Commands
Which command prints the built output of a kustomization directory with kubectl, without applying it?
Select your answer:
Show answer and explanation
Answer: kubectl kustomize <dir>
Explanation
'kubectl kustomize <dir>' prints the built YAML, like the standalone 'kustomize build <dir>'. kubectl has included Kustomize since version 1.14, though the bundled version can be older than the standalone release.
More easy Kustomize questions
- Which flag makes kubectl apply a kustomization directory?
- Which field lists the manifest files and directories a kustomization builds from?
- What is an overlay in Kustomize?
- What does namePrefix: dev- do?
- What does the namespace field in a kustomization.yaml do?
- How do you change an image tag in every Deployment without writing a patch?