# Which command prints the built output of a kustomization directory with kubectl, without applying it?

Kustomize, Easy (Beginner), Commands. https://k8wiz.com/uquiz/which-command-prints-the-built-output-of-a-kustomization-directory-with-kubectl-without-applying-it

- A. kubectl kustomize <dir>
- B. kubectl render <dir>
- C. kubectl build -k <dir>
- D. kubectl template <dir>

**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.
