GitOps with Flux and Helm Operator

GitOps with Flux and Helm Operator

In this tutorial, we will learn how to use GitOps with Flux and Helm Operator. Here are my notes for installing and configuring Flux and Helm Operator.

These are some notes I took for myself because I’ve done this exercise over and over again over the last couple of years. The idea is to use GitOps to deploy services to a Kubernetes cluster. The main advantage of GitOps in my view is that it allows all members of the team to see exactly what is being deployed, since everything is in Git. No manual helm or kustomize commands need to run on local laptops. No drift from the “true state” of the system.

There are several tools that allow you to implement the GitOps workflow in your Kubernetes clusters. I chose Flux (v1, since v2 is still in…flux) and Helm Operator. In a nutshell, once you deploy Flux, it will watch a Git repo you specified in the Flux configuration, grab the latest code from the repo every 5 minutes and do a big kubectl apply with the manifests they find inside a specified directory and its subdirectories. Helm Operator is a CRD that knows how to interpret objects of type HelmRelease. It basically runs helm upgrade for you inside your cluster so you don’t have to do it manually. I based my work initially on a great article written by Stefan Prodan from Weaveworks, which is the company that came up with the GitOps moniker in the first place.

kubernetes

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

Kubernetes in the Cloud: Strategies for Effective Multi Cloud Implementations

This article explains how you can leverage Kubernetes to reduce multi cloud complexities and improve stability, scalability, and velocity.

Kubernetes vs Docker

Get Hands-on experience on Kubernetes and the best comparison of Kubernetes over the DevOps at your place at Kubernetes training

Typical flow for deploying applications to Kubernetes

Get Hands-on experience on Kubernetes and the best comparison of Kubernetes over the DevOps at your place at Kubernetes training

Microsoft Announces General Availability Of Bridge To Kubernetes

Microsoft announced the general availability of Bridge to Kubernetes, formerly known as Local Process with Kubernetes.