LinuxCommandLibrary

argocd-app

Manage Argo CD applications

TLDR

List all applications

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

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
--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)

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community