GitOps, zero to expertGitOps foundations: principles, push versus pull, repository design, Argo CD, Flux and rendering
6 lessons · about 100 minutes of reading · Helmsman Pro
This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.
Sign in and start
In short
From zero: the four OpenGitOps principles and their vocabulary, push versus pull delivery and the CI hand-off, repository and environment layout, Argo CD and Flux from installation to first application, and rendering with Kustomize and Helm, including the rendered-manifests pattern.
Before you start: Git (track 20) and Kubernetes basics (the Kubernetes Core track).
What you'll learn
- Four OpenGitOps principles: declarative, versioned and immutable, pulled automatically, continuously reconciled
- Drift = desired ≠ actual; reconciliation fixes it
- Agents pull; CI no longer needs cluster credentials
- Audit, rollback and DR come from Git history
- Push: pipelines hold cluster credentials and drift goes unseen
- Pull: agents fetch and reconcile; clusters need no inbound access
- GitOps implements delivery; CI still builds and tests
- CI hands off by commit, PR, image automation or a promotion tool
- Separate app source from desired-state config
- Environments as folders and overlays, not branches
- CODEOWNERS on production folders
- Write down 'where production is defined'
Lessons
1. GitOps principles and terminology: desired state, drift and reconciliation
What GitOps is and isn't, the four OpenGitOps principles, and the vocabulary every exam and interview uses: desired state, actual state, drift, reconciliation, state store and pull-based agents.
Sign in to open the lesson
2. Push versus pull delivery, and GitOps among DevOps practices
Compare push-based CI/CD with pull-based GitOps, map GitOps to IaC, configuration management, DevSecOps and CI, and design the hand-off from CI to the GitOps agent.
Sign in to open the lesson
3. Designing GitOps repositories: layout, environments and ownership
Choose between monorepo and polyrepo, separate application and config repositories, model environments with folders and overlays rather than branches, and set ownership and review boundaries.
Sign in to open the lesson
4. Argo CD from zero: install, the Application, sync policies and health
Install Argo CD, log in with the CLI and UI, define an Application declaratively, choose manual or automated sync with prune and self-heal, and read sync and health status.
Sign in to open the lesson
5. Flux from zero: bootstrap, sources, Kustomizations and HelmReleases
Bootstrap Flux into a cluster from Git, understand its controllers, define GitRepository, OCIRepository, Kustomization and HelmRelease resources, and read reconciliation status with the flux CLI.
Sign in to open the lesson
6. Kustomize, Helm and the rendered-manifests pattern
How Argo CD and Flux render Kustomize and Helm, the trade-offs of rendering in the cluster versus committing rendered output, and keeping charts, values and versions reviewable.
Sign in to open the lesson
Common questions
Is GitOps only for Kubernetes?
No; the principles apply to any declarative system, but Kubernetes controllers make it easiest.
Can Argo CD and Terraform work together?
Yes: Terraform often builds clusters and bootstraps Argo CD or Flux, which then manages what runs in them.
Monorepo or one config repository per team?
Start with one config repository and folders; split by team when access or scale needs it.
Should I use argocd app rollback?
In GitOps, roll back with git revert so Git stays the truth; app rollback requires auto-sync off and leaves Git and cluster disagreeing.
Does Flux have a UI?
Flux itself is CLI- and controller-first; community and vendor UIs (such as the Flux Operator's web UI or Weave GitOps successors) exist.
Can Argo CD use Kustomize with Helm?
Yes, Kustomize's helmCharts field with --enable-helm in Argo CD's kustomize build options; keep it simple where you can.