update punctuation

This commit is contained in:
chenggui 2021-04-26 17:38:51 +08:00
parent 3ace6b8ffc
commit 8f98a63d7a
1 changed files with 4 additions and 4 deletions

View File

@ -4,11 +4,11 @@ title: Task
## 描述 ## 描述
描述运行完成代码或脚本的作业. 描述运行完成代码或脚本的作业
## 规范 ## 规范
列出 `Task` 类型 workload 支持的所有配置项. 列出 `Task` 类型 workload 支持的所有配置项
```yaml ```yaml
name: my-app-name name: my-app-name
@ -23,9 +23,9 @@ services:
## 属性 ## 属性
名称 | 描述 | 类型 | 是否必须 | 默认 名称 | 描述 | 类型 | 是否必须 | 默认
------------ | ------------- | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | ------------- | -------------
cmd | 容器中运行的命令 | []string | 否 | cmd | 容器中运行的命令 | []string | 否 |
count | 指定并行运行的 task 数量 | int | 是 | 1 count | 指定并行运行的 task 数量 | int | 是 | 1
restart | 定义作业重启策略, 值只能为 Never 或 OnFailure. | string | 是 | Never restart | 定义作业重启策略,值只能为 Never 或 OnFailure。 | string | 是 | Never
image | 你的服务使用的镜像 | string | 是 | image | 你的服务使用的镜像 | string | 是 |