What is the App of Apps pattern?
Short answer
App of Apps is a pattern where a single parent (root) Application deploys other Application resources instead of workloads. The parent points at a Git path containing child Application manifests, so syncing the parent creates/updates all the children.
Advertisement
AModel answer
App of Apps is a pattern where a single parent (root) Application deploys other Application resources instead of workloads. The parent points at a Git path containing child Application manifests, so syncing the parent creates/updates all the children. It bootstraps and manages many apps from one entry point.
kind: Application
metadata: { name: root }
spec:
source:
repoURL: https://github.com/org/gitops
path: apps # directory of child Application manifests
destination: { server: https://kubernetes.default.svc, namespace: argocd }Real-world example
A root app points at an 'apps/' directory; syncing it creates Applications for monitoring, ingress, and each service.
Likely follow-ups
- What does the parent app deploy? | Where do child Applications live?
Related topics