@@ -120,14 +120,14 @@ DeploymentSpec 定义 Deployment 预期行为的规约。
120
120
*DeploymentStrategy describes how to replace existing pods with new ones.*
121
121
-->
122
122
- ** strategy** (DeploymentStrategy)
123
-
123
+
124
124
** 补丁策略:retainKeys**
125
-
125
+
126
126
将现有 Pod 替换为新 Pod 时所用的部署策略。
127
-
127
+
128
128
<a name =" DeploymentStrategy " ></a >
129
129
** DeploymentStrategy 描述如何将现有 Pod 替换为新 Pod。**
130
-
130
+
131
131
<!--
132
132
- **strategy.type** (string)
133
133
@@ -147,7 +147,7 @@ DeploymentSpec 定义 Deployment 预期行为的规约。
147
147
148
148
- ** strategy.rollingUpdate** (RollingUpdateDeployment)
149
149
150
- 滚动更新这些配置参数。仅当 type = RollingUpdate 时才出现。
150
+ 滚动更新这些配置参数。仅当 DeploymentStrategyType = RollingUpdate 时才出现。
151
151
152
152
<a name =" RollingUpdateDeployment " ></a >
153
153
** 控制滚动更新预期行为的规约。**
@@ -217,13 +217,13 @@ DeploymentSpec 定义 Deployment 预期行为的规约。
217
217
218
218
- ** progressDeadlineSeconds** (int32)
219
219
220
- Deployment 在被视为失败之前取得进展的最大秒数。Deployment 控制器将继续处理失败的部署 ,
220
+ Deployment 在被视为失败之前取得进展的最大秒数。Deployment 控制器将继续处理失败的 Deployment ,
221
221
原因为 ProgressDeadlineExceeded 的状况将被显示在 Deployment 状态中。
222
222
请注意,在 Deployment 暂停期间将不会估算进度。默认为 600s。
223
223
224
224
- ** paused** (boolean)
225
225
226
- 指示部署被暂停 。
226
+ 指示 Deployment 被暂停 。
227
227
228
228
## DeploymentStatus {#DeploymentStatus}
229
229
@@ -249,11 +249,11 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
249
249
-->
250
250
- ** replicas** (int32)
251
251
252
- 此部署所针对的 (其标签与选择算符匹配)未终止 Pod 的总数。
252
+ 此 Deployment 所针对的 (其标签与选择算符匹配)未终止 Pod 的总数。
253
253
254
254
- ** availableReplicas** (int32)
255
255
256
- 此部署针对的可用 (至少 minReadySeconds 才能就绪)的 Pod 总数。
256
+ 此 Deployment 针对的可用 (至少 minReadySeconds 才能就绪)的 Pod 总数。
257
257
258
258
- ** readyReplicas** (int32)
259
259
@@ -266,7 +266,7 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
266
266
-->
267
267
- ** unavailableReplicas** (int32)
268
268
269
- 此部署针对的不可用 Pod 总数。这是 Deployment 具有 100% 可用容量时仍然必需的 Pod 总数。
269
+ 此 Deployment 针对的不可用 Pod 总数。这是 Deployment 具有 100% 可用容量时仍然必需的 Pod 总数。
270
270
它们可能是正在运行但还不可用的 Pod,也可能是尚未创建的 Pod。
271
271
272
272
<!--
@@ -308,7 +308,7 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
308
308
表示 Deployment 当前状态的最新可用观测值。
309
309
310
310
<a name =" DeploymentCondition " ></a >
311
- ** DeploymentCondition 描述某个点的部署状态 。**
311
+ ** DeploymentCondition 描述某个点的 Deployment 状态 。**
312
312
313
313
<!--
314
314
- **conditions.status** (string), required
@@ -355,9 +355,9 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
355
355
-->
356
356
357
357
- ** conditions.lastUpdateTime** (Time)
358
-
358
+
359
359
上次更新此状况的时间。
360
-
360
+
361
361
<a name =" Time " ></a >
362
362
** Time 是对 time.Time 的封装。Time 支持对 YAML 和 JSON 进行正确封包。
363
363
为 time 包的许多函数方法提供了封装器。**
@@ -373,11 +373,11 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
373
373
-->
374
374
375
375
- ** conditions.message** (string)
376
-
376
+
377
377
这是一条人类可读的消息,指示有关上次转换的详细信息。
378
378
379
379
- ** conditions.reason** (string)
380
-
380
+
381
381
状况上次转换的原因。
382
382
383
383
<!--
@@ -445,15 +445,15 @@ GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}
445
445
#### 参数
446
446
447
447
- ** name** (** 路径参数** ): string,必需
448
-
449
- Deployment 的名称
448
+
449
+ Deployment 的名称。
450
450
451
451
- ** namespace** (** 路径参数** ): string,必需
452
-
452
+
453
453
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a >
454
454
455
455
- ** pretty** (** 查询参数** ): string
456
-
456
+
457
457
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
458
458
459
459
<!--
@@ -485,15 +485,15 @@ GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status
485
485
#### 参数
486
486
487
487
- ** name** (** 路径参数** ): string,必需
488
-
489
- Deployment 的名称
488
+
489
+ Deployment 的名称。
490
490
491
491
- ** namespace** (** 路径参数** ): string,必需
492
-
492
+
493
493
<a href="{{< ref "../common-parameters/common-parameters#namespace" >}}">namespace</a >
494
494
495
495
- ** pretty** (** 查询参数** ): string
496
-
496
+
497
497
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
498
498
499
499
<!--
@@ -749,7 +749,7 @@ PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}
749
749
750
750
- ** name** (** 路径参数** ): string,必需
751
751
752
- Deployment 的名称
752
+ Deployment 的名称。
753
753
754
754
- ** namespace** (** 路径参数** ): string,必需
755
755
@@ -809,7 +809,7 @@ PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status
809
809
810
810
- ** name** (** 路径参数** ): string,必需
811
811
812
- Deployment 的名称
812
+ Deployment 的名称。
813
813
814
814
- ** namespace** (** 路径参数** ): string,必需
815
815
@@ -870,7 +870,7 @@ PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}
870
870
871
871
- ** name** (** 路径参数** ): string,必需
872
872
873
- Deployment 的名称
873
+ Deployment 的名称。
874
874
875
875
- ** namespace** (** 路径参数** ): string,必需
876
876
@@ -935,7 +935,7 @@ PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status
935
935
936
936
- ** name** (** 路径参数** ): string,必需
937
937
938
- Deployment 的名称
938
+ Deployment 的名称。
939
939
940
940
- ** namespace** (** 路径参数** ): string,必需
941
941
@@ -992,14 +992,15 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name}
992
992
- **body**: <a href="{{< ref "../common-definitions/delete-options#DeleteOptions" >}}">DeleteOptions</a>
993
993
- **dryRun** (*in query*): string
994
994
- **gracePeriodSeconds** (*in query*): integer
995
+ - **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
995
996
- **pretty** (*in query*): string
996
997
- **propagationPolicy** (*in query*): string
997
998
-->
998
999
#### 参数
999
1000
1000
1001
- ** name** (** 路径参数** ): string,必需
1001
1002
1002
- Deployment 的名称
1003
+ Deployment 的名称。
1003
1004
1004
1005
- ** namespace** (** 路径参数** ): string,必需
1005
1006
@@ -1015,6 +1016,10 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name}
1015
1016
1016
1017
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a >
1017
1018
1019
+ - ** ignoreStoreReadErrorWithClusterBreakingPotential** (** 查询参数** ): boolean
1020
+
1021
+ <a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a >
1022
+
1018
1023
- ** pretty** (** 查询参数** ): string
1019
1024
1020
1025
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
@@ -1052,6 +1057,7 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments
1052
1057
- **dryRun** (*in query*): string
1053
1058
- **fieldSelector** (*in query*): string
1054
1059
- **gracePeriodSeconds** (*in query*): integer
1060
+ - **ignoreStoreReadErrorWithClusterBreakingPotential** (*in query*): boolean
1055
1061
- **labelSelector** (*in query*): string
1056
1062
- **limit** (*in query*): integer
1057
1063
- **pretty** (*in query*): string
@@ -1085,6 +1091,10 @@ DELETE /apis/apps/v1/namespaces/{namespace}/deployments
1085
1091
1086
1092
<a href="{{< ref "../common-parameters/common-parameters#gracePeriodSeconds" >}}">gracePeriodSeconds</a >
1087
1093
1094
+ - ** ignoreStoreReadErrorWithClusterBreakingPotential** (** 查询参数** ): boolean
1095
+
1096
+ <a href="{{< ref "../common-parameters/common-parameters#ignoreStoreReadErrorWithClusterBreakingPotential" >}}">ignoreStoreReadErrorWithClusterBreakingPotential</a >
1097
+
1088
1098
- ** labelSelector** (** 查询参数** ): string
1089
1099
1090
1100
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a >
0 commit comments