Migration and Production Patterns
Moving to Flux v2 from Flux v1, the Helm Operator, or an imperative CI pipeline — then the operational patterns that keep Flux healthy at hundreds of clusters: sharding, concurrency tuning, webhooks, self-upgrade, and disaster recovery.
Overview
Getting there, and growing
Two things separate a team that has read about Flux from a team that runs it: how they got there, and what they changed once the estate got large. Both come up in interviews because both are where the real decisions live.
Teams reach Flux v2 from four places. Three are migrations in the usual sense: from Flux v1, from the Helm Operator, and from an imperative CI pipeline that runs helm upgrade or kubectl apply. The fourth, Argo CD, is a manual re-declaration rather than a migration. Once a team is on Flux v2, the work turns to scale, which means vertical tuning first and sharding later, and to the way Flux manages itself, which is also what makes disaster recovery possible. This chapter follows that order.
Key concepts
- Annotation model to CRD model
- Atomic server-side validated apply
- HelmRelease v1 to v2
- --watch-label-selector
- --concurrent
- --requeue-dependency
- Receiver
- flux-system Kustomization
Interview questions
- Walk me through migrating a team from Flux v1 to Flux v2. What has no direct equivalent?
- How do you migrate a CI pipeline that runs helm upgrade --install to Flux, without an outage?
- An estate has 400 Kustomizations across 60 clusters and reconciles are falling behind. How do you scale Flux?
- How does Flux manage and upgrade itself, and what can go wrong with that?
- A cluster is gone. How do you rebuild it with Flux, and what does not come back?
- Give me an honest comparison of moving between Argo CD and Flux, and what Flux does not have.
Sign up free to read the full topic
More DevOps topics
- Lifecycle Hooks and Tests
- Linking Deep Dive
- Linux Cron & Task Scheduling
- Local Kubernetes Cluster Setup (minikube / kind / k3d)
- Log Aggregation
- Microservices Design
- Monitoring and Troubleshooting
- Monorepo Build Systems
- MSVC Toolchain and Windows Native Build
- Multi-Cluster GitOps
- Native Artifact Signing and Release
- Native Debugging — gdb, Core Dumps and Symbols
Start free on Cariara · Coding problems · System design studio