Kustomize overlay
A small set of per-environment changes, such as replicas or an image digest, layered on top of a shared base.
In more detail
An overlay's kustomization.yaml references a base and adds patches or image changes. One overlay path per environment gives a GitOps tool one clear place to point, and promotion becomes a small reviewed diff.
Example
kubectl kustomize overlays/prodRelated terms
- Kustomize base — A directory of manifests holding the shape an application shares across all environments.
- Kustomize — A tool built into kubectl that combines a shared base of Kubernetes manifests with small per-environment changes, without templates.
- image promotion — Moving the exact same, already-tested image through environments, such as staging to production, without rebuilding it.
- kustomization file — The kustomization.yaml file that tells Kustomize which resources to include and which changes, such as image digests, to apply.
- Kustomize patch — A small partial manifest, or list of operations, that an overlay applies to change specific fields of a base object.
Taught in
- Repository Layout for Environments — Continuous Integration & Continuous Delivery Pipelines
- Flux as the Alternative — Continuous Integration & Continuous Delivery Pipelines
- Sources, Kustomizations, and HelmReleases — Continuous Integration & Continuous Delivery Pipelines
- Deployment: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Final Review: Where Your Marks Are At Risk — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Package The Service As A Helm Chart — Kubernetes: Production-Grade Container Orchestration
- Kustomize Base And Dev And Prod Overlays — Kubernetes: Production-Grade Container Orchestration
- Argo CD Applications And Flux Reconciliation — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: GitOps Drift And Controller Failures — Kubernetes: Production-Grade Container Orchestration