1
0
Fork 0
kubernetes/argocd/README.md

1.4 KiB

Argo CD

Argo CD is a declarative GitOps continuous delivery tool, which allows developers to define and control deployment of Kubernetes application resources from within their existing Git workflow.

kubectl apply -k argocd
kubectl apply -f argocd/applications

Components

Argo CD consists of several components, some of which are not used:

  • Application Controller
  • Repository Service
  • Web Server
  • Notification Controller
  • ApplicationSet Controller1
  • Dex Server2

Applications

Applications are the core resource in Argo CD. They form a collection of resources associated with a particular application deployment. They are themselves defined as Kubernetes resources (see applications).

Git Webhook

Argo CD will automatically refresh the desired state of applications whenever a changeset is pushed to the Git repository where manifests are stored. The infra/kubernetes repository has a Webhook configured in Gitea that notifies the Argo CD server on Git push events.


  1. ApplicationSets are "generators" that can be used to apply applications to multiple clusters. As we only have a single cluster, it is not useful. ↩︎

  2. Argo CD includes Dex to handle authentication and authorization, but we are using Authelia instead. ↩︎