GitOps Reconciliation Loop

GitOps Reconciliation Loop An architecture diagram generated by Archify. Developer · commits change · Architecture component Developer commits change Git Repository · declarative config · Source of truth Git Repository declarative config GitOps Agent · Flux / ArgoCD · GitOps engine GitOps Agent Flux / ArgoCD Reconciliation Loop · desired vs actual · GitOps engine Reconciliation Loop desired vs actual Kubernetes Cluster · actual state · Target environment Kubernetes Cluster actual state Applications · running workloads · Target environment Applications running workloads push watch / pull compare apply runs report status Source of truth GitOps engine Target environment Legend Backend Database Cloud External

Git as single source of truth

  • • Application configurations
  • • Infrastructure definitions
  • • Security policies
  • • Environment-specific settings

Agent loop

  • • Monitor the Git repository for changes
  • • Compare desired state with actual state
  • • Apply changes to bring systems into compliance
  • • Report status and drift

Self-healing

  • • Manual changes or failures cause drift
  • • Agent restores the declared state automatically