App-of-apps vs ApplicationSet: when do you choose which?
IntermediateConceptApplicationSets, App-of-Apps & Multi-Cluster
Answer
- App-of-apps: the children are heterogeneous (ingress controller, cert-manager, monitoring, each with its own config) or need explicit ordering with waves. It is simple and explicit, but repetitive for similar apps.
- ApplicationSet: the children follow one pattern varying by cluster, environment or directory. It is DRY and scales to fleets, but the template is harder to read and less flexible per app.
Most real setups use both: a root app-of-apps that installs ApplicationSets.
More on ApplicationSets, App-of-Apps & Multi-Cluster
What problem does an ApplicationSet solve?BeginnerList the ApplicationSet generators.BeginnerShow a list generator example.BeginnerHow does the cluster generator work?IntermediateCompare the git directory and git files generators.IntermediateWhat is a matrix generator and what are its limits?Intermediate