Service Spec Update Config
constructor(parallelism: Long? = null, delay: Long? = null, failureAction: ServiceSpecUpdateConfig.FailureAction? = null, monitor: Long? = null, maxFailureRatio: Double? = null, order: ServiceSpecUpdateConfig.Order? = null)
Parameters
parallelism
Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism).
delay
Amount of time between updates, in nanoseconds.
failure Action
Action to take if an updated task fails to run, or stops running during the update.
monitor
Amount of time to monitor each updated task for failures, in nanoseconds.
max Failure Ratio
The fraction of tasks that may fail during an update before the failure action is invoked, specified as a floating point number between 0 and 1.
order
The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down.