Version v1.39 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
Kustomize
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 manifests type kustomize
to the manifests
section of skaffold.yaml
.
The kustomize
type offers the following options:
Option | Description |
---|
Each entry in paths
should point to a folder with a kustomization file.
Example
The following manifests
section instructs Skaffold to render
artifacts using kustomize:
manifests:
kustomize: {}
# The manifests section above is equal to
# manifests:
# kustomize:
# paths: ["."]
Note
kustomize CLI must be installed on your machine. Skaffold will not install it.Last modified August 2, 2022: feat: Remove duplicate kustomize config (#7719) (be0b90058)