Deploy applications#
After repository authentication is configured:
- Apply AppProject resources:
kubectl apply -k argocd- Deploy app-of-apps (discovers
Applicationresources underclusters/home-prod/argocd/applications/):
kubectl apply -f clusters/home-prod/argocd/app-of-apps.yamlDelete an application#
- 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>/
- 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/.