Jump to content

The Road to Flux v2 - May Update


Recommended Posts

Before we get started, what is GitOps?

If you are new to the community and GitOps, you might want to check out some general resources. We like the GitOps manifesto or the official GitOps FAQ written by folks at Weaveworks.

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 not quite GA yet, but it already solves more problems than v1, it’s way more flexible, ships more features and is easy 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
  • 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.

Upcoming events

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 our 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 - you can still register for this KubeCon Day 0 co-located event organized by the GitOps Working Group. Co-hosted by Chris Short, Red Hat and Scott Rigby, Weaveworks

04 May 2021 - Meet the Maintainer - Stefan Prodan - you must be registered here to attend this session

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.

07 May 2021 - Meet the Maintainer - Aurel Canciu - you must be registered here to attend this session

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!

AlisonD.jpeg

We feel very fortunate to have Alison on board!

Over and out

If you would like to get involved, here are a few ways:

We are looking forward to working with you.

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...