concept Flux in category kubernetes

appears as: Flux, The Flux
GitOps and Kuberentes MEAP V06 epub

This is an excerpt from Manning's book GitOps and Kuberentes MEAP V06 epub.

11.1   What is Flux?

Flux is an open-source project that implements GitOps driven continuous deployment for Kubernetes. The project was started in 2016 at Weaveworks[1] and joined CNCF Sandbox three years later.

Flux goes one step ahead and automates the deployment repository updates. Instead of using the CI system and scripting, you can configure Flux to automatically update the deployment repository every time when a new image is pushed to the Docker registry. The developer’s workflow with automated Docker registry scanning is represented in the following picture.

Figure 11.2 Workflow automated repository updates

When the automated repository updates are enabled, Flux takes full control over both deployment repository and Kubernetes cluster management. The only developer's responsibility is to make a code change and let the CI system push the updated Docker image into the registry. The automated deployment repository management is especially useful if the image tags are following semantic versioning convention.

Great, that means Flux successfully performed the deployment. Next, run to the following command to confirm that the sample app deployment resource has been created:

$ kubectl get deploy sample-app -n default

Congratulations! You successfully deployed your first application using Flux.

sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest