Skip to content

Commit efe9072

Browse files
authored
Merge pull request #43426 from windsonsea/depyh
[zh] update /controllers/deployment.md
2 parents 4440dba + e3f943b commit efe9072

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

content/zh-cn/docs/concepts/workloads/controllers/deployment.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2154,9 +2154,9 @@ Here are some Rolling Update Deployment examples that use the `maxUnavailable` a
21542154
以下是一些使用 `maxUnavailable``maxSurge` 的滚动更新 Deployment 的示例:
21552155

21562156
{{< tabs name="tab_with_md" >}}
2157-
{{% tab name="Max Unavailable" %}}
2157+
{{% tab name="最大不可用" %}}
21582158

2159-
```yaml
2159+
```yaml
21602160
apiVersion: apps/v1
21612161
kind: Deployment
21622162
metadata:
@@ -2182,12 +2182,12 @@ spec:
21822182
type: RollingUpdate
21832183
rollingUpdate:
21842184
maxUnavailable: 1
2185-
```
2185+
```
21862186
21872187
{{% /tab %}}
2188-
{{% tab name="Max Surge" %}}
2188+
{{% tab name="最大峰值" %}}
21892189
2190-
```yaml
2190+
```yaml
21912191
apiVersion: apps/v1
21922192
kind: Deployment
21932193
metadata:
@@ -2213,12 +2213,12 @@ spec:
22132213
type: RollingUpdate
22142214
rollingUpdate:
22152215
maxSurge: 1
2216-
```
2216+
```
22172217
22182218
{{% /tab %}}
2219-
{{% tab name="Hybrid" %}}
2219+
{{% tab name="两项混合" %}}
22202220
2221-
```yaml
2221+
```yaml
22222222
apiVersion: apps/v1
22232223
kind: Deployment
22242224
metadata:
@@ -2245,7 +2245,7 @@ spec:
22452245
rollingUpdate:
22462246
maxSurge: 1
22472247
maxUnavailable: 1
2248-
```
2248+
```
22492249
22502250
{{% /tab %}}
22512251
{{< /tabs >}}
@@ -2261,7 +2261,7 @@ retrying the Deployment. This defaults to 600. In the future, once automatic rol
22612261
controller will roll back a Deployment as soon as it observes such a condition.
22622262
-->
22632263
### 进度期限秒数 {#progress-deadline-seconds}
2264-
2264+
22652265
`.spec.progressDeadlineSeconds` 是一个可选字段,用于指定系统在报告 Deployment
22662266
[进展失败](#failed-deployment) 之前等待 Deployment 取得进展的秒数。
22672267
这类报告会在资源状态中体现为 `type: Progressing`、`status: False`、

0 commit comments

Comments
 (0)