docker-sdk-rust/docs/ServiceSpecUpdateConfig.md
2025-06-16 16:37:36 +07:00

1.2 KiB

ServiceSpecUpdateConfig

Properties

Name Type Description Notes
parallelism Option<i64> Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism). [optional]
delay Option<i64> Amount of time between updates, in nanoseconds. [optional]
failure_action Option<String> Action to take if an updated task fails to run, or stops running during the update. [optional]
monitor Option<i64> Amount of time to monitor each updated task for failures, in nanoseconds. [optional]
max_failure_ratio Option<f64> 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. [optional]
order Option<String> 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. [optional]

[Back to Model list] [Back to API list] [Back to README]