prune
Deleting live resources that no longer appear in the desired state in Git.
In more detail
Argo CD and Flux both support it. Because it deletes things, review it like any deletion policy and understand who owns each resource first.
Example
syncPolicy:
automated:
prune: falseRelated terms
- sync policy — The Application setting that decides whether Argo CD syncs automatically and whether it prunes and self-heals.
- self heal — An Argo CD option that re-applies the desired state when someone changes a live resource by hand.
- Flux Kustomization — A Flux object that points at a path in a source, and tells Flux how often to build and apply it and whether to prune.
- sync — In GitOps, applying the difference between what the repository says and what the cluster has, and the status that reports whether they match.
- Argo CD Application — The Argo CD custom resource that pairs a source, a Git repository, revision and path, with a destination cluster and namespace.
Taught in
- How The Exam Works: Weights, Pacing And A Plan — Certified Argo Project Associate (CAPA) Exam Prep
- Argo CD: Components, Applications And Projects — Certified Argo Project Associate (CAPA) Exam Prep
- Sync: Manual Or Automated, Prune And Self-Heal — Certified Argo Project Associate (CAPA) Exam Prep
- Sync Phases, Waves And Hooks — Certified Argo Project Associate (CAPA) Exam Prep
- Helm, Kustomize And Applications With Several Sources — Certified Argo Project Associate (CAPA) Exam Prep
- Health, Reconciliation And Fields Argo CD Should Ignore — Certified Argo Project Associate (CAPA) Exam Prep
- Final Mock, Review And A Trap Sprint — Certified Argo Project Associate (CAPA) Exam Prep
- Three Edits At 2 A.M.: Drift And Reconciliation — Certified GitOps Associate (CGOA) Exam Prep
- Terminology Sprint: One Incident, Nine Terms — Certified GitOps Associate (CGOA) Exam Prep
- Seven Steps Called GitOps: The Declarative Principle — Certified GitOps Associate (CGOA) Exam Prep
- An Hour Without Payments: Continuously Reconciled — Certified GitOps Associate (CGOA) Exam Prep
- A Bucket Nobody Wrote Down: State Stores Beyond Git — Certified GitOps Associate (CGOA) Exam Prep
- A Bake-Off With One Rule: Argo CD And Flux — Certified GitOps Associate (CGOA) Exam Prep
- Tooling Sprint: The CTO's Shopping List — Certified GitOps Associate (CGOA) Exam Prep
- Forty-Six Of Sixty: The Mock And What It Tells You — Certified GitOps Associate (CGOA) Exam Prep
- Drift Detection and Self-Healing — Continuous Integration & Continuous Delivery Pipelines
- Flux as the Alternative — Continuous Integration & Continuous Delivery Pipelines
- Sources, Kustomizations, and HelmReleases — Continuous Integration & Continuous Delivery Pipelines
- Argo CD Applications And Flux Reconciliation — Kubernetes: Production-Grade Container Orchestration