k8wiz
Kustomize
Easy
Commands

Which command writes a kustomization.yaml that lists the YAML files in the current directory?

Select your answer:

Show answer and explanation

Answer: kustomize create --autodetect

Explanation

'kustomize create --autodetect' writes a kustomization.yaml whose resources list the manifests it finds, and --recursive includes subdirectories. It's a quick way to start using Kustomize on a folder of plain manifests.