Fixed formatting error on user workload defaults

This commit is contained in:
ollypom 2019-07-01 14:05:37 +00:00
parent aaa2ecf8e0
commit a6d08a9631
No known key found for this signature in database
GPG Key ID: 2E6D9F4EBCB6B160
1 changed files with 10 additions and 8 deletions

View File

@ -158,7 +158,7 @@ Specifies whether the your UCP license is automatically renewed.
Included when you need to set custom API headers. You can repeat this section multiple times to specify multiple separate headers. If you include custom headers, you must specify both `name` and `value`.
[[custom_api_server_headers]]
`[[custom_api_server_headers]]`
| Item | Description |
|:--------|:--------------------------------------------------------------------------------------|
@ -167,15 +167,17 @@ Included when you need to set custom API headers. You can repeat this section mu
### user_workload_defaults (optional)
`user_workload_defaults.swarm_defaults`
A map describing default values to set on Swarm services at creation time if
A map describing default values to set on Swarm services at creation time if
those fields are not explicitly set in the service spec.
| Parameter | Required | Description |
|:-----------------------------------------|:---------|:---------------------------------------------------------------------|
| `tasktemplate.restartpolicy.delay` | no | Delay between restart attempts (ns|us|ms|s|m|h).The default is `5s`. |
| `tasktemplate.restartpolicy.maxattempts` | no | Maximum number of restarts before giving up. The default is `3`. |
`[user_workload_defaults]`
`[user_workload_defaults.swarm_defaults]`
| Parameter | Required | Description |
|:-------------------------------------------|:---------|:---------------------------------------------------------------------------------------------------------|
| `[tasktemplate.restartpolicy.delay]` | no | Delay between restart attempts (ns|us|ms|s|m|h). The default is `value = "5s"`. |
| `[tasktemplate.restartpolicy.maxattempts]` | no | Maximum number of restarts before giving up. The default is `value = "3"`. |
### cluster_config table (required)