argocd-app

Manage Argo CD applications

TLDR

List all applications
$ argocd app list
Create new application
$ argocd app create [name] --repo [repo_url] --path [path] --dest-server [cluster_url] --dest-namespace [namespace]
Sync application
$ argocd app sync [name]
Delete application
$ argocd app delete [name]
Get application details
$ argocd app get [name]
Diff against Git
$ argocd app diff [name]

SYNOPSIS

argocd app command [options]

DESCRIPTION

argocd app manages Argo CD applications, which represent deployed Kubernetes resources synced from Git repositories. Each application links a Git path to a Kubernetes destination.Applications can be synced manually or automatically, with Argo CD monitoring for drift between desired (Git) and live (cluster) state.

PARAMETERS

create name

Create new application
list
List all applications
get name
Get application details
sync name
Sync application with Git
delete name
Delete application
diff name
Show diff with Git state
history name
Show deployment history
rollback name id
Rollback to previous revision
set name
Modify application settings
wait name
Block until the application reaches a Healthy/Synced state
logs name
Stream logs from the application's pods
--repo url
Git repository URL
--path path
Path within repository
--dest-server url
Kubernetes cluster URL
--dest-namespace ns
Target namespace
--sync-policy policy
Sync policy (manual, automated)

INSTALL

sudo pacman -S argocd
brew install argocd
nix profile install nixpkgs#argocd

CAVEATS

Applications require repository and cluster access configured. Automated sync should be used carefully in production. Pruning can delete resources.

HISTORY

Application management is the core functionality of Argo CD, central to the GitOps workflow since the project's creation in 2018.

SEE ALSO

argocd(1), kubectl(1)

RESOURCES

Source code · Documentation