Multi-env GitOps Platform
- When
- October 2026
- Kind
- Side project
A fully automated, GitOps-driven Kubernetes platform. Terraform bootstraps the cluster and ArgoCD, and Git is the only way anything reaches an environment.
Problem
Learning the full delivery chain usually means a cloud bill and an account someone else controls. Tutorials each cover one link, so the interesting parts, like who may change prod and what happens when a release is wrong, never come up.
Highlights
- k3d cluster provisioned by Terraform, with ArgoCD owning every workload through an app-of-apps.
- App CI runs lint and tests, builds multi-arch images to GHCR, and commits the new tag to a dedicated GitOps repository.
- Dev takes every build. Prod changes only through a reviewed release pull request behind CODEOWNERS, with a deny list for vetoed builds.
- Argo Rollouts canary moves one of two pods onto the new image, then pauses with no timer until a person promotes or aborts.
- A two-tier FastAPI stub on PostgreSQL, with separate databases per environment.
- Guides for the local platform are done. Multi-environment and EKS guides are partly done; pluggable structure and observability are not started.
Dev and prodDev deploys continuously. Prod changes only through a reviewed release.
Stack
Architecture
Screens




What I learned
- Pull-based GitOps means CI holds no cluster credentials, at the cost of a lag between merge and rollout.
- Terraform's Kubernetes and Helm providers resolve at plan time, so the cluster and its contents need two root modules and two applies.