May 2021 update
Before we get started, what is GitOps?
The Road to Flux v2
The Flux community has set itself very ambitious goals for version 2 and as it’s a multi-month project, we strive to inform you each month about what has already landed, new possibilities which are available for integration and where you can get involved. Read last month’s update here: https://fluxcd.io/blog/2021/03/april-2021-update/.
Let’s recap what happened in April - there has been so much happening!
It’s the one-year anniversary of Flux v2
Incredible, but true. The first experimentation around Flux v2 started about a year ago. It was only meant to be a proof of concept to illustrate that a set of small and targeted controllers could replace all of Flux eventually. We celebrate how far we have come: Flux v2 is closer to GA, and already solves more problems than v1. It’s far more flexible, ships more features and is easier to navigate and debug. What’s even more important is that our community has grown considerably since then. We have more maintainers from more organisations on board, more documentation and are looking forward to having you on the team as well!
Thanks a lot to everyone who contributed so Flux v2 so far!
We added many long-requested features
0.12 had the following highlights:
- New bootstrap git command for pairing Flux with any Git platform (CLI)
- Improvements to GitHub and GitLab bootstrap including self-signed certs (CLI)
- Support for Git submodules (source-controller)
- GPG signing of image update commits (image-automation-controller)
- Fixes to commit templates and new branch push (image-automation-controller)
- Extend SOPS with support for age encryption format (kustomize-controller)
- Support for sending alerts to Sentry and Webex (notification-controller)
- Alerts deduplication and events rate limiting (notification-controller)
- A container image with
fluxis available on DockerHub and GitHub
The Flux v2 CLI and the GitOps Toolkit controllers are now CII Best Practices certified.
Checkout the new bootstrap procedure.
0.13 comes with breaking changes to image automation and has the following highlights:
- The image automation APIs have been promoted to
v1alpha2. Users are encouraged to test this image automation beta candidate, and give feedback before we move these APIs to beta (after which there will be no further breaking API changes)
- Allow pre-bootstrap customisation of Flux components (CLI)
- Improved efficiency of Bucket downloads by including
.sourceignorerules during bucket item downloads (source-controller)
- New command to list all Flux resources
flux get all --all-namespaces(CLI)
- Support for CRDs upgrade policies (helm-controller)
- Support for SSH keys with a passphrase (source-controller)
- Send alerts to HTTPS servers with self-signed certs (notification-controller)
- The HelmChart
ValueFilefield has been deprecated in favour of
- Support for decrypting Kubernetes Secrets generated with SOPS
Please follow the upgrade procedure for image automation.
Checkout the new bootstrap customisation feature.
The Image automation guide has been updated to the new APIs, and also includes a reference to a new GitHub Actions use case guide, for automatic pull request creation with Flux and GitHub Actions. This guide is for you, if you want Flux updates to go to a staging branch, where they can be reviewed and approved before going to production.
Flagger was compatible with Linkerd
which implements the
Service Mesh Interface (SMI)
Starting with v1.8.0, Flagger extends the SMI support for the
This means Flagger can be used to automate canary releases with
progressive traffic shifting for Open Service Mesh,
NGINX Service Mesh, Consul Connect,
and any other service mesh conforming to SMI.
More features have been included in v1.8.0 release, please see the changelog.
If you want to get hands-on experience with GitOps (Flux v2) and Progressive Delivery (Flagger), check out Stefan’s blog post: A GitOps recipe for Progressive Delivery with Istio.
It’s important to us to keep you up to date with new features and developments in Flux and provide simple ways to see our work in action and chat with our engineers. In the next days we have these events coming up for you:
It’s KubeCon EU 2021 and because we are now an incubating project Flux will have a booth at the project pavilion for the first time! Stop by the booth to chat with us and check out our booth schedule of talks with various users, contributors, and maintainers.
The Flux maintainers will be speaking during the conference as well:
GitOps Con Europe (#GitOpsCon) is designed to foster collaboration, discussion and knowledge sharing on GitOps. This event is aimed at audiences that are new to GitOps as well as those currently using GitOps within their organization. Get connected with others that are passionate about GitOps. Learn from practitioners about pitfalls to avoid, hurdles to jump, and how to adopt GitOps in your cloud native environment.
05 May 2021 - Keynote: CNCF Project Update: Flux - Stefan Prodan at KubeCon 2021 Europe.
05 May 2021 - Helm Users! What Flux 2 Can Do For You - Scott Rigby & Kingdon Barrett, Weaveworks
Helm, the Package manager for Kubernetes. Flux, the GitOps continuous delivery solution for Kubernetes. Both can be used independently, but are more powerful together. Scott Rigby, Helm and Flux maintainer — and Kingdon Barrett, OSS engineer — will share the benefits of Helm and GitOps for developers, with live demos showcasing the extra awesomeness of Flux v2 and Helm together. This talk is for Helm users who have either never used Flux, or Flux v1 users looking forward to new features in Flux v2.
06 May 2021 - Flux: Multi-tenancy Deep Dive - Philip Laine at KubeCon 2021 Europe
Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories) and automating updates to the configuration when there is new code to deploy. In this presentation, we will look at how Flux can be used in multi-tenant environments to simplify the day to day work of developers and Kubernetes cluster operators.
Still a bit further down the line, but this will definitely be worth your time: an entire two-day conference about the newest developments in the GitOps world with Keynotes from Justin Cormack (CTO, Docker), Katie Gamanji (Ecosystem Advocate, CNCF), and Lei “Harry” Zhang (Staff Engineer at Alibaba Cloud).
- 09-10 Jun 2021 - GitOps Days 2021
In other news
Our website has grown
Since the start of Flux v2 we wanted to make good documentation front and center of what we do. For a while now we published all the guides and API docs at toolkit.fluxcd.io. For a time now we knew that this was confusing, so we started the work on moving everything to https://fluxcd.io.
We are very pleased to announce that we succeeded in moving the docs and now offer community information, our blog and many other useful bits on the website, everything is searchable and we look forward to adding more.
The team who has been working on this is looking for help, so if you
have a knack for fixing typos, improve grammar, add short guides or work
on graphics or make the layout more user-friendly, please talk to us in
#flux Slack channel and/or send a pull request to
Looking forward to growing the team! 💖
Alison Dowdney joins the maintainer team
Alison has been part of the Flux project for quite a while now. Not only did she present Flux at meetups, fix bugs and add documentation in the last months. She also helped out with the website and has a long background in working with communities in the Kubernetes space. Recently she took on the role of chair in k8s SIG Contributor Experience as well!
We feel very fortunate to have Alison on board!
Over and out
If you like what you read and would like to get involved, here are a few good ways to do that:
- Join our upcoming dev meetings on 2021-05-12 12:00 UTC, or 2021-05-20 15:00 UTC
- Talk to us in the #flux channel on CNCF Slack
- Join the planning discussions
- And if you are completely new to Flux v2, take a look at our Get Started guide and give us feedback
- Social media: Follow Flux on Twitter, join the discussion in the Flux LinkedIn group
We are looking forward to working with you.