What is a dry-run sync?
Short answer
A dry-run sync asks the API server to validate what would be applied without persisting changes, surfacing errors (schema, admission) before a real sync. It's a safety check to catch problems early, though some issues only appear on actual apply.
Advertisement
AModel answer
A dry-run sync asks the API server to validate what would be applied without persisting changes, surfacing errors (schema, admission) before a real sync. It's a safety check to catch problems early, though some issues only appear on actual apply.
Example
argocd app sync app --dry-run
Real-world example
A dry-run reveals an invalid field so the manifest is fixed before the real sync runs.
Likely follow-ups
- What does dry-run catch? | What might it miss?
Related topics