Course contentsShow
← Cloud and Infrastructure
Lesson 1913 of 2,98940. ArgoCDFree lesson

App of Apps Pattern

Implementing the app-of-apps pattern to manage multiple related Applications as a single logical unit.

App of Apps Pattern

What You'll Learn

You'll learn how to use ArgoCD's app-of-apps pattern to manage multiple related Applications as a single logical unit, creating a hierarchical structure for organizing your deployments.

The Core Idea

The app-of-apps pattern treats an ArgoCD Application as a parent that generates and manages multiple child Applications. Instead of manually creating dozens of Application resources for different microservices, environments, or teams, you create one "root" Application that references a Git repository containing Application manifests. ArgoCD then automatically creates and syncs all child Applications.

Think of it like a table of contents managing a book's chapters. The root app is your table of contents—it doesn't contain the actual content (your workloads), but it points to all the chapters (child Applications) that do. Update the table of contents, and the entire book's structure updates automatically.

How It Works

You create a parent Application that points to a directory containing multiple ArgoCD Application YAML files. When ArgoCD syncs the parent, it:

  1. Reads all Application manifests in that directory
  2. Creates or updates child Applications in the cluster
  3. Each child Application then syncs its own resources independently

This creates a declarative hierarchy: your Git repository structure mirrors your application architecture, and changes propagate automatically through the tree.

Benefits

  • Centralized management: One sync controls many applications
  • GitOps for GitOps: Your Application definitions themselves are version-controlled and reconciled
  • Logical grouping: Team boundaries, environments, or feature sets become organizational units
  • Scalability: Manage hundreds of applications without manual clicking

Key Takeaway: The app-of-apps pattern lets you manage ArgoCD Applications declaratively by creating a parent Application that generates child Applications from Git-stored manifests, enabling hierarchical, scalable GitOps workflows.