780 B
780 B
TaskSpecRestartPolicy
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| condition | Option<String> | Condition for restart. | [optional] |
| delay | Option<i64> | Delay between restart attempts. | [optional] |
| max_attempts | Option<i64> | Maximum attempts to restart a given container before giving up (default value is 0, which is ignored). | [optional][default to 0] |
| window | Option<i64> | Windows is the time window used to evaluate the restart policy (default value is 0, which is unbounded). | [optional][default to 0] |