ServiceUpdateConfig constructor
const
ServiceUpdateConfig({})
Creates a new ServiceUpdateConfig.
delay Delay between task updates (ns|us|ms|s|m|h). Defaults to 0s.
failureAction Action on update failure: pause, continue or rollback. Defaults to pause.
maxFailureRatio Failure rate to tolerate during an update. Defaults to 0.0.
monitor Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to 5s.
order Update order: either 'stop-first' or 'start-first'. Defaults to stop-first.
parallelism Maximum number of tasks to be updated in one iteration. Defaults to 1
Implementation
const ServiceUpdateConfig({
this.delay,
this.failureAction,
this.maxFailureRatio,
this.monitor,
this.order,
this.parallelism,
});