Kustomize
Easy
Commands
Which command builds a kustomization with the standalone Kustomize CLI?
Select your answer:
Show answer and explanation
Answer: kustomize build <dir>
Explanation
'kustomize build' prints the result to standard output, so you can pipe it to 'kubectl apply -f -' or save it to a file. The standalone CLI is often newer than the version inside kubectl.
More easy Kustomize questions
- What does commonAnnotations do?
- Which field is the current way to patch resources in Kustomize v5?
- Which command writes a kustomization.yaml that lists the YAML files in the current directory?
- What does kubectl delete -k on an overlay remove?
- What does the replicas field in a kustomization.yaml do?
- Do Kustomize input files need special syntax, like Helm's {{ }} placeholders?