KubeDojo

GitOps: Declarative Delivery with Argo CD and Flux

AK
by Alexis Kinsella··17 min read
GitOps: Declarative Delivery with Argo CD and Flux

The previous article built the container image and updated the manifest. The CI pipeline did its job. But who applies that manifest to the cluster? And what happens when someone runs kubectl edit at 2 AM and changes a replica count that your pipeline doesn't know about?

Push-based delivery has a blind spot: once the pipeline finishes, nothing watches the cluster. Drift accumulates silently. GitOps closes that gap by putting a controller inside the cluster that continuously pulls desired state from Git and reconciles it. No external system needs cluster credentials. Git becomes the single source of truth, and the controller becomes the enforcement mechanism.

Sign in to access this lesson

Create a free account or sign in to enroll in the KCNA — Kubernetes and Cloud Native Associate course and access all 25 lessons.

KCNA — Kubernetes and Cloud Native Associate

25 lessons

Browse the full course curriculum →