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

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.

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

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