Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating updates to configuration when there is new code to deploy.
Flux version 2 ("v2") is built from the ground up to use Kubernetes' API extension system, and to integrate with Prometheus and other core components of the Kubernetes ecosystem. In version 2, Flux supports multi-tenancy and support for syncing an arbitrary number of Git repositories, among other long-requested features.
Flux v2 is constructed with the GitOps Toolkit, a set of composable APIs and specialized tools for building Continuous Delivery on top of Kubernetes.
With Homebrew:
brew install fluxcd/tap/flux
With Bash:
curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
# enable completions in ~/.bash_profile
. <(flux completion bash)
Arch Linux (AUR) packages:
- flux-bin: install the latest stable version using a pre-build binary (recommended)
- flux-go: build the latest stable version from source code
- flux-scm: build the latest
(unstable) version from source code from our git
main
branch
Binaries for macOS, Windows and Linux AMD64/ARM are available to download on the release page.
Verify that your cluster satisfies the prerequisites with:
flux check --pre
To get started with Flux, start browsing the documentation or get started with one of the following guides:
- Get started with Flux (deep dive)
- Installation
- Manage Helm Releases
- Setup Notifications
- Setup Webhook Receivers
The GitOps Toolkit is the set of APIs and controllers that make up the runtime for Flux v2. The APIs comprise Kubernetes custom resources, which can be created and updated by a cluster user, or by other automation tooling.
You can use the toolkit to extend Flux, or to build your own systems for continuous delivery -- see the developer guides.
The Flux project is always looking for new contributors and there are a multitude of ways to get involved. Depending on what you want to do, some of the following bits might be your first steps:
- Join our upcoming dev meetings (meeting access and agenda)
- Talk to us in the #flux channel on CNCF Slack
- Join the planning discussions
- And if you are completely new to Flux and the GitOps Toolkit, take a look at our Get Started guide and give us feedback
- To be part of the conversation about Flux's development, join the flux-dev mailing list.
- Check out how to contribute to the project
- 11 Jan 2021 - Helm + GitOps = ⚡️⚡️⚡️ with Scott Rigby
- 14 Dec 2020 - The Power of GitOps with Flux and Flagger (GitOps Hands-On) with Leigh Capili
- 30 Nov 2020 - The Power of GitOps with Flux 2 - Part 3 with Leigh Capili
- 24 Nov 2020 - Flux CD v2 with GitOps Toolkit - Kubernetes Deployment and Sync Mechanism
- 02 Nov 2020 - The Power of GitOps with Flux & GitOps Toolkit - Part 2 with Leigh Capili
- 28 Oct 2020 - The Kubelist Podcast: Flux with Michael Bridgen
- 19 Oct 2020 - The Power of GitOps with Flux & GitOps Toolkit - Part 1 with Leigh Capili
- 12 Oct 2020 - Rawkode Live: Introduction to GitOps Toolkit with Stefan Prodan
- 04 Sep 2020 - KubeCon Europe: The road to Flux v2 and Progressive Delivery with Stefan Prodan & Hidde Beydals
- 25 Jun 2020 - Cloud Native Nordics: Introduction to GitOps & GitOps Toolkit with Alexis Richardson & Stefan Prodan
We look forward to seeing you with us!