Interview Prep/GitOps & Argo CD/ApplicationSets, App-of-Apps & Multi-Cluster

What is a matrix generator and what are its limits?

IntermediateConceptApplicationSets, App-of-Apps & Multi-Cluster
Answer

It combines two child generators into their Cartesian product, for example every cluster times every add-on directory. The second generator can reference parameters from the first (like using {{ .metadata.labels.region }} in a git path). Limits: exactly two child generators per matrix, and nesting is limited to two levels (a matrix inside a matrix or merge). Products grow fast, so filter with selectors.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on ApplicationSets, App-of-Apps & Multi-Cluster