Interface ServiceSpecRollbackConfig

Specification for the rollback strategy of the service. ServiceSpecRollbackConfig

interface ServiceSpecRollbackConfig {
    Delay?: number;
    FailureAction?: ServiceSpecRollbackConfigFailureActionEnum;
    MaxFailureRatio?: number;
    Monitor?: number;
    Order?: ServiceSpecRollbackConfigOrderEnum;
    Parallelism?: number;
}

Properties

Delay?: number

Amount of time between rollback iterations, in nanoseconds.

Action to take if an rolled back task fails to run, or stops running during the rollback.

MaxFailureRatio?: number

The fraction of tasks that may fail during a rollback before the failure action is invoked, specified as a floating point number between 0 and 1.

Monitor?: number

Amount of time to monitor each rolled back task for failures, in nanoseconds.

The order of operations when rolling back a 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.

Parallelism?: number

Maximum number of tasks to be rolled back in one iteration (0 means unlimited parallelism).