What is `PruneLast=true` for?
IntermediateConceptThe Application CRD & Sync Policies
Answer
It defers pruning until after all other resources in all waves have been applied and are healthy. Example: you rename a Service from api to api-v2. Without PruneLast, the old Service might be deleted before the new one is ready, briefly breaking traffic. With PruneLast, api-v2 comes up first, then api is removed.
More on The Application CRD & Sync Policies
Walk through the key fields of an Argo CD `Application`.BeginnerWhat values can `targetRevision` take?BeginnerWhat is the difference between `destination.server` and `destination.name`?BeginnerWhat does `syncPolicy.automated` do, and what are its sub-fields?BeginnerWhy is `prune` disabled by default?BeginnerExplain `selfHeal`. When might you not want it?Intermediate