Pcornel
Automation · GitOps

GitOps Fundamentals

Cheat sheet · https://pcornel.dk/topic.php?topic=5482

Back to the Topic

Answer

GitOps fundamentals: declarative configuration stored in Git, changes through pull requests, automated pull-based deployment by an agent, and continuous reconciliation of the live state.

Remember

  • GitOps = declarative config + Git + pull-based agent + reconciliation.
  • Git is the source of truth.
  • Agents apply changes, not CI.

First checks

  • argocd app get <app> — status
  • flux get kustomizations -A — Flux status
  • Repo structure (apps, envs) — organisation

Verify in this order

declarative config in git → agent → cluster/infra

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5482

Confirmation

Confirm action

Continue?