What is the RollingSync strategy?
AdvancedConceptApplicationSets, App-of-Apps & Multi-Cluster
Answer
A progressive sync strategy for ApplicationSets (strategy.type: RollingSync) that syncs generated apps in ordered steps selected by labels, waiting for each step's apps to be healthy before continuing, with maxUpdate limiting how many sync at once:
strategy:
type: RollingSync
rollingSync:
steps:
- matchExpressions: [{key: env, operator: In, values: [staging]}]
- matchExpressions: [{key: env, operator: In, values: [prod]}]
maxUpdate: 25%
It must be enabled on the controller (progressive syncs flag). It gives fleet-level waves for a change that touches many clusters.
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