Deploy an Application
After accessing Argo CD, to deploy an Application
:
- UI
- CLI
-
In the Argo CD UI, navigate to Applications.
-
Click on NEW APP.
-
Under GENERAL,
-
set Application Name to
helm-guestbook
. -
set Project Name to
default
.
-
-
Under SOURCE,
-
set Repository URL to
https://github.com/argoproj/argocd-example-apps
. -
Set Path to
helm-guestbook
.
-
-
Under DESTINATION, set Cluster URL to your cluster URL.
- The URL will be in the format
https://cluster-<cluster-name>:8001
, where<cluster-name>
is the name used connecting your Kubernetes cluster.
- The URL will be in the format
-
Set Namespace to
default
. -
Click on CREATE.
The helm-guestbook
Application
will be created but will not be synced automatically (because the sync policy was left to the default of Manual
).
-
Click on the
helm-guestbook
Application card, review the resources to be created in the cluster by clicking onAPP DIFF . -
Then click on SYNC and SYNCHRONIZE.
-
Use the
argocd
CLI to create an Application namedhelm-guestbook
.argocd app create helm-guestbook \
--repo https://github.com/argoproj/argocd-example-apps.git \
--path helm-guestbook \
--dest-server https://cluster-<cluster-name>:8001 \
--dest-namespace default- In
dest-server
URL (https://cluster-<cluster-name>:8001
), replace<cluster-name>
with the name used when connecting your Kubernetes cluster.
- In
The helm-guestbook
Application
will be created but will not be synced automatically (because the sync policy was left to the default of Manual
).
-
Check the diff for the Application.
argocd app diff helm-guestbook
-
Sync the Application.
argocd app sync helm-guestbook
Congratulations! You have successfully deployed an application to the Akuity Platform Argo CD Instance.