kustomization file
The kustomization.yaml file that tells Kustomize which resources to include and which changes, such as image digests, to apply.
In more detail
It is configuration for the renderer rather than a workload. Do not confuse it with Flux's Kustomization object, which tells Flux where to find such a directory and how often to apply it.
Examples
resources:
- ../../base/checkout
images:
- name: ghcr.io/acme/checkout
digest: sha256:demoresources:
- ../../base
namePrefix: prod-
namespace: web-prodRelated terms
- Kustomize — A tool built into kubectl that combines a shared base of Kubernetes manifests with small per-environment changes, without templates.
- Kustomize overlay — A small set of per-environment changes, such as replicas or an image digest, layered on top of a shared base.
- Flux Kustomization — A Flux object that points at a path in a source, and tells Flux how often to build and apply it and whether to prune.
- Kustomize base — A directory of manifests holding the shape an application shares across all environments.
- Flux — A GitOps tool for Kubernetes built from small controllers that fetch sources and apply them to the cluster.
Taught in
- Repository Layout for Environments — Continuous Integration & Continuous Delivery Pipelines
- Kustomize Bases, Overlays And Patches — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Deployment: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Kustomize Base And Dev And Prod Overlays — Kubernetes: Production-Grade Container Orchestration
- Argo CD Applications And Flux Reconciliation — Kubernetes: Production-Grade Container Orchestration