Skip to content

kustomize

Kustomize introduces a template-free way to customize application configuration that simplifies the use of off-the-shelf applications. Now, built into kubectl as apply -k.

Installation

$ brew install kustomize

Common Commands (using standalone)

# To view Resources found in a directory containing a kustomization file:
$ kustomize build <kustomization_directory>
$ kustomize build <kustomization_directory> --enable-help

Common Commands (using with kubectl)

# To view Resources found in a directory containing a kustomization file:
$ kubectl kustomize <kustomization_directory>
# To apply those Resources
$ kubectl apply -k <kustomization_directory>

References


Last update: February 16, 2023