Back to Skaffold

Kustomize

docs-v2/content/en/docs/renderers/kustomize.md

2.19.0833 B
Original Source

Rendering with kustomize

kustomize allows Kubernetes developers to customize raw, template-free YAML files for multiple purposes. Skaffold can work with kustomize by calling its command-line interface.

Configuration

To use kustomize with Skaffold, add render type kustomize to the manifests section of skaffold.yaml.

The kustomize configuration accepts a list of paths to folders containing a kustomize.yaml file.

Example

The following manifests section instructs Skaffold to render artifacts using kustomize. Each entry should point to a folder with a kustomize.yaml file.

{{% readfile file="samples/renderers/kustomize.yaml" %}}

{{< alert title="Note" >}} kustomize CLI must be installed on your machine. Skaffold will not install it. {{< /alert >}}