Flux CD: Course Handouts
The written companions to the Flux CD course by
DevCloudLab.
One handout per lecture: the concepts, the commands, the manifests, all copyable.
→ More hands-on cloud-native courses at DevCloudLab.com
How to use these
Each lecture in the course links to its handout here. Watch the lecture, then keep the handout: every command and manifest is in a code block you can copy straight out of the page with the button in its top-right corner.
Where a lecture was recorded before a tool changed, the handout gives the current working command and flags what the video shows, in a note like this:
Since this video was recorded: the older form no longer works on current versions. The command above is the current equivalent.
Handouts
Section 1: Introduction
- 2. Understanding GitOps
- 3. Introduction to Flux CD and its role in Kubernetes deployments
- 4. How is GitOps different from DevOps?
- 5. Benefits of automating deployments with Flux CD
Section 2: Getting started with Flux CD
- 1. Installing and configuring Git
- 2. Kubernetes cluster setup
- 4. Installing and bootstrapping Flux CD
- 5. Syncing Kubernetes resources with Flux CD
- 6. Flux CD workflows and automation processes
- 7. Implementing declarative infrastructure with Flux CD
- 8. Migrating off the removed Flux beta APIs
Section 3: Flux CD and Helm
- 1. Understanding Helm and its interaction with Flux CD
- 2. Deploying applications using Flux CD with Git as the Helm chart source
- 3. Modifying the Helm chart and overriding the default values
- 4. (Optional) Creating a private Helm repository
- 5. Using HTTP Helm repositories with Flux CD
- 6. Using OCI Helm repositories with Flux CD
- 8. Using ECR as a Helm repository with EKS and Flux CD
- 9. Automating Helm Release upgrades
- 10. Installing a web UI for Flux CD (Flux Operator replaces Weave GitOps)
Section 4: Flux CD and Kustomize
- 1. Flux CD and Kustomize
- 2. Different Git directory structuring methods
- 3. Restructuring our repository to follow best practices
- 4. Using Flux CD with the Monorepo approach
- 5. Restructuring the repository to follow the multi-tenancy approach
- 6. Onboarding tenants and enforcing restrictions: the dev team
- 7. Onboarding tenants and enforcing restrictions: the admin team
Section 5: Flux CD security
- 1. Section introduction: Flux CD security
- 2. Secrets encryption with Bitnami’s Sealed Secrets
- 3. Flux CD’s Kustomization integration with Mozilla SOPS
- 4. Secrets encryption with GPG
- 5. Secrets encryption with Age
- 6. Secrets encryption with HashiCorp Vault (and OpenBao)
- 8. Validating the integrity of Helm charts using Cosign
Section 6: Image automation
- 1. What is image automation
- 2. Image automation with public registries
- 3. Image automation with private registries
Section 7: Flux CD notification automation
- 1. Section introduction: Flux CD notification automation
- 2. Sending Flux CD notifications to Slack
- 3. Flux CD automatic reconciliation using webhooks
Built by DevCloudLab
Hands-on cloud-native courses: Kubernetes, GitOps, CI/CD and the cloud.
Visit DevCloudLab.com →
