flux

module
v0.0.0-...-5272525 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2019 License: Apache-2.0

README

Flux

Announcement Flux has joined CNCF as a sandbox project

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

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

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 mishi@linux.com.

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

Getting Help

If you have any questions about Flux and continuous delivery:

Your feedback is always welcome!

Directories

Path Synopsis
api
v10
This package defines the types for Flux API version 10.
This package defines the types for Flux API version 10.
v11
This package defines the types for Flux API version 11.
This package defines the types for Flux API version 11.
v6
v9
This package defines the types for Flux API version 9.
This package defines the types for Flux API version 9.
kubernetes
Package kubernetes provides implementations of `Cluster` and `manifests` that interact with the Kubernetes API (using kubectl or the k8s API client).
Package kubernetes provides implementations of `Cluster` and `manifests` that interact with the Kubernetes API (using kubectl or the k8s API client).
cmd
git
gpg
Package gpg has procedures for dealing with GNU Privacy Guard (gpg), in service of signing commits.
Package gpg has procedures for dealing with GNU Privacy Guard (gpg), in service of signing commits.
integrations
apis/flux.weave.works/v1beta1
+k8s:deepcopy-gen=package,register +groupName=flux.weave.works Package v1beta1 is the v1beta1 version of the API.
+k8s:deepcopy-gen=package,register +groupName=flux.weave.works Package v1beta1 is the v1beta1 version of the API.
apis/helm.integrations.flux.weave.works/v1alpha2
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/flux.weave.works/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/flux.weave.works/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/helm.integrations.flux.weave.works/v1alpha2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
This package has types for dealing with image registries (e.g., quay.io, DockerHub, Google Container Registry, ..).
This package has types for dealing with image registries (e.g., quay.io, DockerHub, Google Container Registry, ..).
cache
This package implements an image metadata cache given a backing k-v store.
This package implements an image metadata cache given a backing k-v store.
cache/memcached
This package implements an image DB cache using memcached.
This package implements an image DB cache using memcached.
rpc
This is a `net/rpc`-compatible implementation of a client and server for `flux/api.Server`.
This is a `net/rpc`-compatible implementation of a client and server for `flux/api.Server`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL