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.
In more detail
It is Flux's equivalent of an Argo CD Application for Kustomize or plain manifests. Its sourceRef names a GitRepository or other source rather than repeating a URL.
Example
kind: Kustomization
spec:
interval: 5m
prune: true
path: ./environments/production/checkout
sourceRef:
kind: GitRepository
name: platform-configRelated terms
- GitRepository — A Flux source object that tells the source controller which Git repository and branch to fetch, and how often.
- sourceRef — The field in a Flux object that names the source object, such as a GitRepository, to read content from.
- kustomize controller — The Flux controller that builds Kustomize overlays from a source and applies the result to the cluster.
- reconciliation interval — How often a Flux object is checked and reconciled, set with its interval field such as 5m.
Taught in
- A Bake-Off With One Rule: Argo CD And Flux — Certified GitOps Associate (CGOA) Exam Prep
- Tooling Sprint: The CTO's Shopping List — Certified GitOps Associate (CGOA) Exam Prep
- Flux as the Alternative — Continuous Integration & Continuous Delivery Pipelines
- Sources, Kustomizations, and HelmReleases — Continuous Integration & Continuous Delivery Pipelines