Skip to content

Commit 7837bf8

Browse files
committed
[zh] Sync workload-resources/deployment-v1, priority-class-v1
1 parent dd303e3 commit 7837bf8

File tree

2 files changed

+66
-61
lines changed

2 files changed

+66
-61
lines changed

content/zh-cn/docs/reference/kubernetes-api/workload-resources/deployment-v1.md

Lines changed: 38 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ DeploymentSpec 定义 Deployment 预期行为的规约。
120120
*DeploymentStrategy describes how to replace existing pods with new ones.*
121121
-->
122122
- **strategy** (DeploymentStrategy)
123-
123+
124124
**补丁策略:retainKeys**
125-
125+
126126
将现有 Pod 替换为新 Pod 时所用的部署策略。
127-
127+
128128
<a name="DeploymentStrategy"></a>
129129
**DeploymentStrategy 描述如何将现有 Pod 替换为新 Pod。**
130-
130+
131131
<!--
132132
- **strategy.type** (string)
133133
@@ -147,7 +147,7 @@ DeploymentSpec 定义 Deployment 预期行为的规约。
147147

148148
- **strategy.rollingUpdate** (RollingUpdateDeployment)
149149

150-
滚动更新这些配置参数。仅当 type = RollingUpdate 时才出现。
150+
滚动更新这些配置参数。仅当 DeploymentStrategyType = RollingUpdate 时才出现。
151151

152152
<a name="RollingUpdateDeployment"></a>
153153
**控制滚动更新预期行为的规约。**
@@ -217,13 +217,13 @@ DeploymentSpec 定义 Deployment 预期行为的规约。
217217

218218
- **progressDeadlineSeconds** (int32)
219219

220-
Deployment 在被视为失败之前取得进展的最大秒数。Deployment 控制器将继续处理失败的部署
220+
Deployment 在被视为失败之前取得进展的最大秒数。Deployment 控制器将继续处理失败的 Deployment
221221
原因为 ProgressDeadlineExceeded 的状况将被显示在 Deployment 状态中。
222222
请注意,在 Deployment 暂停期间将不会估算进度。默认为 600s。
223223

224224
- **paused** (boolean)
225225

226-
指示部署被暂停
226+
指示 Deployment 被暂停
227227

228228
## DeploymentStatus {#DeploymentStatus}
229229

@@ -249,11 +249,11 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
249249
-->
250250
- **replicas** (int32)
251251

252-
此部署所针对的(其标签与选择算符匹配)未终止 Pod 的总数。
252+
此 Deployment 所针对的(其标签与选择算符匹配)未终止 Pod 的总数。
253253

254254
- **availableReplicas** (int32)
255255

256-
此部署针对的可用(至少 minReadySeconds 才能就绪)的 Pod 总数。
256+
此 Deployment 针对的可用(至少 minReadySeconds 才能就绪)的 Pod 总数。
257257

258258
- **readyReplicas** (int32)
259259

@@ -266,7 +266,7 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
266266
-->
267267
- **unavailableReplicas** (int32)
268268

269-
此部署针对的不可用 Pod 总数。这是 Deployment 具有 100% 可用容量时仍然必需的 Pod 总数。
269+
此 Deployment 针对的不可用 Pod 总数。这是 Deployment 具有 100% 可用容量时仍然必需的 Pod 总数。
270270
它们可能是正在运行但还不可用的 Pod,也可能是尚未创建的 Pod。
271271

272272
<!--
@@ -308,7 +308,7 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
308308
表示 Deployment 当前状态的最新可用观测值。
309309

310310
<a name="DeploymentCondition"></a>
311-
**DeploymentCondition 描述某个点的部署状态**
311+
**DeploymentCondition 描述某个点的 Deployment 状态**
312312

313313
<!--
314314
- **conditions.status** (string), required
@@ -355,9 +355,9 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
355355
-->
356356

357357
- **conditions.lastUpdateTime** (Time)
358-
358+
359359
上次更新此状况的时间。
360-
360+
361361
<a name="Time"></a>
362362
**Time 是对 time.Time 的封装。Time 支持对 YAML 和 JSON 进行正确封包。
363363
为 time 包的许多函数方法提供了封装器。**
@@ -373,11 +373,11 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
373373
-->
374374

375375
- **conditions.message** (string)
376-
376+
377377
这是一条人类可读的消息,指示有关上次转换的详细信息。
378378

379379
- **conditions.reason** (string)
380-
380+
381381
状况上次转换的原因。
382382

383383
<!--
@@ -445,15 +445,15 @@ GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}
445445
#### 参数
446446

447447
- **name** (**路径参数**): string,必需
448-
449-
Deployment 的名称
448+
449+
Deployment 的名称
450450

451451
- **namespace** (**路径参数**): string,必需
452-
452+
453453
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a>
454454

455455
- **pretty** (**查询参数**): string
456-
456+
457457
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
458458

459459
<!--
@@ -485,15 +485,15 @@ GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status
485485
#### 参数
486486

487487
- **name** (**路径参数**): string,必需
488-
489-
Deployment 的名称
488+
489+
Deployment 的名称
490490

491491
- **namespace** (**路径参数**): string,必需
492-
492+
493493
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a>
494494

495495
- **pretty** (**查询参数**): string
496-
496+
497497
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
498498

499499
<!--
@@ -749,7 +749,7 @@ PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}
749749

750750
- **name** (**路径参数**): string,必需
751751

752-
Deployment 的名称
752+
Deployment 的名称
753753

754754
- **namespace** (**路径参数**): string,必需
755755

@@ -809,7 +809,7 @@ PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status
809809

810810
- **name** (**路径参数**): string,必需
811811

812-
Deployment 的名称
812+
Deployment 的名称
813813

814814
- **namespace** (**路径参数**): string,必需
815815

@@ -870,7 +870,7 @@ PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}
870870

871871
- **name** (**路径参数**): string,必需
872872

873-
Deployment 的名称
873+
Deployment 的名称
874874

875875
- **namespace** (**路径参数**): string,必需
876876

@@ -935,7 +935,7 @@ PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status
935935

936936
- **name** (**路径参数**): string,必需
937937

938-
Deployment 的名称
938+
Deployment 的名称
939939

940940
- **namespace** (**路径参数**): string,必需
941941

@@ -992,14 +992,15 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name}
992992
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
993993
- **dryRun** (*in query*): string
994994
- **gracePeriodSeconds** (*in query*): integer
995+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
995996
- **pretty** (*in query*): string
996997
- **propagationPolicy** (*in query*): string
997998
-->
998999
#### 参数
9991000

10001001
- **name** (**路径参数**): string,必需
10011002

1002-
Deployment 的名称
1003+
Deployment 的名称
10031004

10041005
- **namespace** (**路径参数**): string,必需
10051006

@@ -1015,6 +1016,10 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name}
10151016

10161017
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
10171018

1019+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
1020+
1021+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
1022+
10181023
- **pretty** (**查询参数**): string
10191024

10201025
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
@@ -1052,6 +1057,7 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments
10521057
- **dryRun** (*in query*): string
10531058
- **fieldSelector** (*in query*): string
10541059
- **gracePeriodSeconds** (*in query*): integer
1060+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
10551061
- **labelSelector** (*in query*): string
10561062
- **limit** (*in query*): integer
10571063
- **pretty** (*in query*): string
@@ -1085,6 +1091,10 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments
10851091

10861092
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a>
10871093

1094+
- **ignoreStoreReadErrorWithClusterBreakingPotential** (**查询参数**): boolean
1095+
1096+
<a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a>
1097+
10881098
- **labelSelector** (**查询参数**): string
10891099

10901100
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a>

0 commit comments

Comments
 (0)