App of Apps 패턴

App of Apps 패턴 An architecture diagram generated by Archify. apps-of-apps · root application · argocd 네임스페이스 (Application 리소스) apps-of-apps root application app-1 · child · argocd 네임스페이스 (Application 리소스) app-1 child app-2 · child · argocd 네임스페이스 (Application 리소스) app-2 child app-3 · child · argocd 네임스페이스 (Application 리소스) app-3 child app-4 · child · argocd 네임스페이스 (Application 리소스) app-4 child Deployments · from app-1, app-2 · 대상 네임스페이스 (destination) Deployments from app-1, app-2 Services · from app-3 · 대상 네임스페이스 (destination) Services from app-3 ConfigMaps · from app-4 · 대상 네임스페이스 (destination) ConfigMaps from app-4 argocd 네임스페이스 (Application 리소스) 대상 네임스페이스 (destination) Legend 자식 Application 루트 Application Kubernetes 리소스

루트 Application

  • • source.path: apps/children — 자식 Application 매니페스트를 동기화
  • • destination.namespace: argocd — Application 리소스는 argocd 네임스페이스에 생성
  • • syncPolicy.automated (prune, selfHeal)로 자식 추가·삭제를 자동 반영

자식 Application

  • • source.path: manifests/<app> — 앱별 매니페스트를 동기화
  • • destination.namespace: 앱별 네임스페이스 (CreateNamespace=true)
  • • resources-finalizer로 삭제 시 하위 리소스까지 정리