Popularity
7.9
Stable
Activity
7.6
Declining
6,901
108
1,129

Description

Flux is a tool that automatically ensures that the state of a cluster matches the config in git. It uses an operator in the cluster to trigger deployments inside Kubernetes, which means you don't need a separate CD tool. It monitors all relevant image repositories, detects new images, triggers deployments and updates the desired running configuration based on that (and a configurable policy).

Programming language: Go
License: Apache License 2.0
Tags: Deployment Automation     Automation     Git     Kubernetes     GitOps    
Latest version: v1.25.2

Flux alternatives and similar tools

Based on the "Automation" category.
Alternatively, view Flux alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Flux or a related project?

Add another 'Automation' Tool

README

Flux

On Flux v2

This repository contains the source code of Flux Legacy, or Flux v1. It largely just receives security fixes at this point.

Development has moved to fluxcd/flux2 and its controllers entirely. If you consider using Flux, we strongly recommend you take a look at https://fluxcd.io/docs/get-started to get started, or if you are on Flux Legacy https://fluxcd.io/docs/migration/ to migrate.

Many of the long-requested features for Flux have been integrated into the new version of Flux, you will find it much more versatile.

:warning: Read our announcement here: Flux v1 is in maintenance mode.

We believe in GitOps:

  • You declaratively describe the entire desired state of your system in git. This includes the apps, config, dashboards, monitoring and everything else.
  • What can be described can be automated. Use YAMLs to enforce conformance of the system. You don't need to run kubectl, all changes go through git. Use diff tools to detect divergence between observed and desired state and get notifications.
  • You push code not containers. Everything is controlled through pull requests. There is no learning curve for new devs, they just use your standard git PR process. The history in git allows you to recover from any snapshot as you have a sequence of transactions. It is much more transparent to make operational changes by pull request, e.g. fix a production issue via a pull request instead of making changes to the running system.

Flux is a tool that automatically ensures that the state of a cluster matches the config in git. It uses an operator in the cluster to trigger deployments inside Kubernetes, which means you don't need a separate CD tool. It monitors all relevant image repositories, detects new images, triggers deployments and updates the desired running configuration based on that (and a configurable policy).

The benefits are: you don't need to grant your CI access to the cluster, every change is atomic and transactional, git has your audit log. Each transaction either fails or succeeds cleanly. You're entirely code centric and don't need new infrastructure.

[Deployment Pipeline](docs/_files/flux-cd-diagram.png)

CircleCI GoDoc Documentation

What Flux does

Flux is most useful when used as a deployment tool at the end of a Continuous Delivery pipeline. Flux will make sure that your new container images and config changes are propagated to the cluster.

Who is using Flux in production

Our list of production users has moved to https://fluxcd.io/adopters/#flux-v1.

If you too are using Flux in production; please submit a PR to add your organization to the list!

History

In the first years of its existence, the development of Flux was very closely coupled to that of Weave Cloud. Over the years the community around Flux grew, the numbers of integrations grew and the team started the process of generalising the code, so that more projects could easily integrate.

Get started with Flux

With the following tutorials:

or just browse through the documentation.

Do you want to release your Helm charts in a declarative way? Take a look at the fluxcd/helm-operator.

Integrations

As Flux is Open Source, integrations are very straight-forward. Here are a few popular ones you might want to check out:

Community & Developer information

We welcome all kinds of contributions to Flux, be it code, issues you found, documentation, external tools, help and support or anything else really.

The Flux project adheres to the CNCF Code of Conduct.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a Flux project maintainer, or the CNCF mediator, Mishi Choudhary [email protected].

To familiarise yourself with the project and how things work, you might be interested in the following:

  • [Our contributions guidelines](CONTRIBUTING.md)
  • Build documentation
  • [Release documentation](internal/docs/releasing.md)

Getting Help

Reminder that Flux v1 is in maintenance mode. If you have any questions about Flux v2 and future migrations, these are the best ways to stay informed:

If you have further questions about Flux or continuous delivery:

Your feedback is always welcome!