Posts

Environment Promotion Strategies for GitOps Pipelines: Branches, Paths, Tags, and Digests

Image
Environment Promotion Strategies for GitOps Pipelines: Branches, Paths, Tags, and Digests GitOps promotion is a data-model problem before it is a tooling problem. This guide compares branches, directories, tags, image digests, Flux automation, and Argo CD Image Updater trade-offs. TL;DR A reliable GitOps promotion strategy makes the promoted artifact, environment-specific configuration, approval record, and rollback target explicit. Directory-per-environment models are simple and auditable, branch-per-environment models isolate change history but create merge drift, tag or SHA promotion improves reproducibility, and image-digest promotion closes supply-chain gaps. Flux Image Automation and Argo CD Image Updater can reduce toil, but production promotion still needs protected branches, signed commits or tags, policy gates, drift detection, and a clear handoff to progressive delivery across clusters safely. Promotion is the movement of a reviewed artifact through explicit environment s...

Multi-Tenant GitOps with Argo CD: Isolation Patterns That Survive Production

Image
Multi-Tenant GitOps with Argo CD: Isolation Patterns That Survive Production Multi-tenant Argo CD is not just RBAC. This deep dive shows how to combine AppProjects, namespaces, OIDC groups, sync controls, and policy gates into a safer GitOps platform. TL;DR Multi-tenant Argo CD works only when tenancy is enforced at several layers at once: Git repository boundaries, AppProject source and destination rules, Kubernetes namespaces, OIDC-backed RBAC, admission policy, and deletion controls. The practical model is to give each tenant a narrow AppProject, generate applications from approved repository paths, constrain sync and prune behavior, and let Kubernetes enforce runtime quotas and policy. This keeps GitOps self-service useful in production without turning the Argo CD control plane into a shared cluster-admin escape hatch. A production Argo CD tenant boundary is layered: Git path, AppProject, identity group, namespace, policy, and runtime quota all carry part of the isolation model....

Bootstrapping Kubernetes Clusters with Terraform and Argo CD: A Durable Two-Layer Approach

Image
Bootstrapping Kubernetes Clusters with Terraform and Argo CD: A Durable Two-Layer Approach Robust cluster bootstrap separates infrastructure provisioning from continuous reconciliation. This guide details a production-grade Terraform plus Argo CD model with explicit governance. TL;DR A production-ready Kubernetes bootstrap is more reliable when Terraform and Argo CD have explicit responsibilities. Terraform should provision and manage infrastructure primitives, cluster lifecycle resources, and state safety controls. Argo CD should continuously reconcile platform and workload resources from Git using declarative application definitions. This model reduces drift and clarifies incident ownership. Teams should harden Terraform workflows with plan review and state management controls, and treat Argo CD app-of-apps repositories as privileged automation surfaces with strict access and project boundaries. App-of-apps accelerates bootstrap, but should be managed as privileged automation. Bo...

Progressive Delivery on Kubernetes with Argo CD and Argo Rollouts

Image
Progressive Delivery on Kubernetes with Argo CD and Argo Rollouts Argo CD and Argo Rollouts solve different problems in the release path. This guide shows how to use them together for safer canary and blue-green delivery on Kubernetes. TL;DR Progressive delivery on Kubernetes is not just a nicer rolling update. Argo CD reconciles Git against the cluster and keeps the desired state honest, while Argo Rollouts adds first-class release strategies such as canary and blue-green, with analysis gates and traffic-aware promotion. When you combine them, you get a clear control boundary: Git defines intent, Argo CD applies it, and Argo Rollouts manages staged exposure and rollback decisions. That split makes release behavior more predictable, especially when you need metric-based promotion instead of blind full-cluster cutovers. Argo Rollouts is the control plane that adds staged promotion and analysis on top of GitOps-driven delivery. Rolling Updates Are Not Progressive Delivery Kubernetes...