Skip to main content

Argo CD

Deploy applications
#

After repository authentication is configured:

  1. Apply AppProject resources:
kubectl apply -k argocd
  1. Deploy app-of-apps (discovers Application resources under clusters/home-prod/argocd/applications/):
kubectl apply -f clusters/home-prod/argocd/app-of-apps.yaml

Delete an application
#

  1. Remove app definition from Git:
    • clusters/home-prod/argocd/applications/<app-name>.yaml
    • app repo and destination entries from argocd/projects/homelab.yaml
    • optional overlay at clusters/home-prod/overlays/<app-name>/
  2. Follow Argo CD deletion procedure:

Application tracking model
#

This setup uses app-of-apps with home-prod-apps creating child applications.

When to sync home-prod-apps
#

Sync when changing application definitions in clusters/home-prod/argocd/applications/.