argocd-app Verified for current stable LTS

Argocd App Command: Preview Sync

An engineer would use the 'argocd app sync {{app_name}} --dry-run --prune' command when they need to simulate a deployment to assess potential changes and resource deletions in the application before executing the actual sync operation. Exact CLI syntax to preview sync using Argocd App.

When to use this: An engineer would use the 'argocd app sync {{app_name}} --dry-run --prune' command when they need to simulate a deployment to assess potential changes and resource deletions in the application before executing the actual sync operation.

Command Syntax

argocd app sync <app_name> --dry-run --prune

Command Breakdown

--dry-run
Command Option
Tool-specific option used by this command invocation.
--prune
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to preview sync using Argocd App.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Argocd App directory