Last modified January 24, 2023
What is FluxCD
What is FluxCD
The FluxCD website states:
Flux is a set of continuous and progressive delivery solutions for Kubernetes that are open and extensible.
What it is from a developer perspective is a set of operators and Custom Resources designed to apply GitOps in a Kubernetes environment. The operators, configured with the Custom Resources, will be watching Git repositories, Helm repositories, or even S3 buckets and reconciling their contents with the state of the cluster to make sure they both match.
To get started with FluxCD, you will need to bootstrap FluxCD to your cluster of choice and create at least one of each of the following:
source.toolkit.fluxcd.io
resources - they tell thesource-controller
where to look for the manifestshelmrelease.helm.toolkit.fluxcd.io
orkustomization.kustomize.toolkit.fluxcd.io
resources - they are meant forhelm-controller
andkustomize-controller
respectively and govern how the manifests found in sources will be applied
Luckily, FluxCD is bootstrapped and running in Giant Swarm management clusters, so you can start using it immediately.
If want to learn more about FluxCD and its capabilities, here are a couple of useful links:
- FluxCD documentation homepage
- Get Started with Flux is a great way to get familiar with Flux on a test cluster or even a Kind cluster
- GitOps Toolkit components is where you can browse Flux Custom Resources and their use cases.
Need help, got feedback?
We listen to your Slack support channel. You can also reach us at support@giantswarm.io. And of course, we welcome your pull requests!