Brood Operations
Use a BroodOperation to run one action against a snapshot of controllers. Preview any disruptive operation first.
varroactl broodop run restart --selector tier=canary --dry-runvarroactl broodop run restart --selector tier=canary --max-parallel 2 --watchChoose exactly one target form: --names or --selector. A selector can be limited with --namespaces and --clusters; use all only from an operator namespace. Filters for phase, version, and bundle further narrow selector results.
Set execution policy
Section titled “Set execution policy”| Setting | Default | Effect |
|---|---|---|
--max-parallel | 1 | Maximum concurrent targets. |
--order | rolloutWave | Complete a rollout wave before the next. name treats targets as one wave. |
--failure-policy | FailTidy | Stop new dispatch after a failure and wait for active targets. |
--ttl | seven days | Retain the completed operation. Use 0 to retain it. |
FailFast stops at the first failure. FailAtEnd attempts every target. Supported actions are restart, reprovision, reconcile, stop, and start. reconcile skips stopped and hibernated controllers. start wakes either state.
executeGroovy runs arbitrary Jenkins code. Configure and authorize it only through executeGroovy security.
Monitor and control a run
Section titled “Monitor and control a run”varroactl broodop getvarroactl broodop describe <namespace>/<name>varroactl broodop watch <namespace>/<name>varroactl broodop suspend <namespace>/<name>varroactl broodop suspend <namespace>/<name> --offvarroactl broodop cancel <namespace>/<name>Phases are Pending, Running, Suspended, Succeeded, Failed, and Canceled. Only the final three are terminal. Suspension prevents new dispatch; running targets continue. Targeting and execution settings cannot be changed after creation.
For a recurring operation, use Brood schedules. For staged bundle changes, use Rollout waves.