The Road to Flux v2 - May Update
Flux v2 has its first anniversary and reaches the 0.13 milestone, there are new guides and use-cases docs, info about upcoming events (yes we'll be at KubeCon!) and general Flux community news!
Continuous AWS Cloud Security with Trusted Delivery
6 Key Ideas Shaping GitOps Today
Shifting Security Left with GitOps and Trusted Delivery
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 a lot!
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 organizations on board, more documentation and we are looking forward to having you on the team as well!
Thanks a lot to everyone who contributed to 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 kubectl and flux is 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 https://fluxcd.io/docs/guides/installation/#generic-git-server
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 .sourceignore rules 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 ValueFile field has been deprecated in favour of ValuesFiles (source-controller)
Please follow the upgrade procedure for image automation https://github.com/fluxcd/flux2/discussions/1333
Checkout the new bootstrap customisation feature https://fluxcd.io/docs/guides/installation/#customize-flux-manifests
The Image Update Guide has been updated for the image automation changes, 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 into production.
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 to chat with our engineers. In the next few days we have these events coming:
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 the booth schedule of talks with various users, contributors, and maintainers.
The Flux maintainers will be speaking during the conference as well:
03 May 2021 - GitOpsCon EU 2021 - KubeCon Day 0 co-located event organized by the GitOps Working Group. Co-hosted by Scott Rigby, Weaveworks and Chris Short, Red Hat. You must be registered to attend.
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) among others.
09-10 Jun 2021 - GitOps Days 2021
Check out https://fluxcd.io/community/#talks for more upcoming events and links to recordings of past talks.
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 have published all the guides and API docs at toolkit.fluxcd.io. 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, improving grammar, adding short guides, working on graphics or making the layout more user-friendly, please talk to us in the #flux Slack channel and/or send a pull request to fluxcd/website. 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 few months. She has also helped out with the website and she has a long background in working with communities in the Kubernetes space. Recently she took on the role of chair in Kubernetes SIG Contributor Experience as well!
We feel very fortunate to have Alison on board!
Over and out
If you would like to get involved, here are a few ways:
- Join our upcoming dev meetings on 2021-05-06 15:00 UTC, or 2021-05-12, 12: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.