ARGOCD TUTORIAL

Argo CD Application Resource (CRD)

API version argoproj.io V1 alpha 1 and kind application tell Kubernetes this application resource has to be validated against application custom resource definition. Argo CD controller continuously watches Kubernetes API for application resources. When new application is created, Kubernetes delivers an event to controller. Controller recognizes that this resource belongs to it by looking at kind and API version and begins reconciling it. Every application belongs to an Argo CD project. Project provides logical grouping and can enforce restrictions on our application. Source is used to point Argo CD to specific repository. Sub fields are repo URL, target revision is the branch, path is used since deployment files might be in specific folder within this repository. Destination is destination cluster where Argo CD will deploy application and the namespace where app is going to be deployed. Sync policy and sync options configure how applications will be synced.

Practice this scenario in a live environment

This scenario is meant to be explored hands-on. Click the Start environment button to launch a real virtual machine dedicated to you.

Once the environment is ready you'll get:

  • A browser terminal (ttyd) so you can run shell commands directly against the VM.
  • A browser code editor (VS Code) to open, edit, and save files on the same VM.
  • Any additional ports the tutorial exposes, opened as separate tabs so you can preview services running inside the VM.

The environment stays active while you use it and hibernates automatically after a period of inactivity, so pick up where you left off whenever you come back. When you finish, use the Delete button to remove the environment and release the resources.

Have a question about this scenario? Reach out to us and we'll be happy to help.


What's next

Now go and try this out in a live environment — boot a fresh cluster and play with the manifests above.

Start ArgoCD
Spec 2 CPU / 5 GiB ·Disk 20 GiB
Sign in to launch this environment
Required 1 VM · 2 CPU · 5 GB · 20 GiB disk
Available 1 VM · 1 CPU · 2 GB · 10 GiB disk
Sign in

Suggested tutorials

Keep the momentum going, pick a related topic.