Declarative, Git-centric deployments with Argo CD. Directory layout, sync policies, and security.
GitOps keeps desired state in Git and uses a controller (e.g. Argo CD) to reconcile the cluster. Here’s how to do it well.
repo/
apps/
myapp/
base/
overlays/
dev/
staging/
prod/
Use Kustomize or Helm; keep secrets out of Git (e.g. Sealed Secrets, SOPS, or external secret operators).
Start with one app and one environment; add automation and more envs once the pattern is stable.
Get the latest tutorials, guides, and insights on AI, DevOps, Cloud, and Infrastructure delivered directly to your inbox.
A real story of removing console-only changes, adding drift detection, and getting Terraform back in charge.
A field report from rolling out retrieval-augmented generation in production, including cache bugs, bad embeddings, and how we fixed them.
Explore more articles in this category
How to write postmortems that lead to real improvements, not just documentation theater. Includes a template and real examples.
A real walkthrough of shrinking bloated Docker images from 1.2GB to 240MB using multi-stage builds, Alpine, and dependency auditing.
A practical artifact promotion guide for CI/CD teams that were tired of hearing 'it passed in staging' after production behaved differently because the release was rebuilt.