@@ -6,7 +6,7 @@ api_metadata:
66content_type : " api_reference"
77description : " ReplicaSet 确保在任何给定的时刻都在运行指定数量的 Pod 副本。"
88title : " ReplicaSet"
9- weight : 4
9+ weight : 6
1010---
1111<!--
1212api_metadata:
@@ -16,7 +16,7 @@ api_metadata:
1616content_type: "api_reference"
1717description: "ReplicaSet ensures that a specified number of pod replicas are running at any given time."
1818title: "ReplicaSet"
19- weight: 4
19+ weight: 6
2020auto_generated: true
2121-->
2222
@@ -156,7 +156,7 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
156156- **terminatingReplicas** (int32)
157157
158158 The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
159-
159+
160160 This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default)
161161-->
162162- ** terminatingReplicas** (int32)
@@ -183,7 +183,7 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
183183 *Patch strategy: merge on key `type`*
184184
185185 *Map: unique values on key type will be kept during a merge*
186-
186+
187187 Represents the latest available observations of a replica set's current state.
188188
189189 <a name="ReplicaSetCondition"></a>
@@ -194,12 +194,12 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
194194 ** 补丁策略:按照键 ` type ` 合并**
195195
196196 ** Map:键类型的唯一值将在合并期间保留**
197-
197+
198198 表示副本集当前状态的最新可用观测值。
199-
199+
200200 <a name =" ReplicaSetCondition " ></a >
201201 ** ReplicaSetCondition 描述某个点的副本集状态。**
202-
202+
203203 <!--
204204 - **conditions.status** (string), required
205205
@@ -211,13 +211,13 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
211211 -->
212212
213213 - ** conditions.status** (string),必需
214-
214+
215215 状况的状态,取值为 ` True ` 、` False ` 或 ` Unknown ` 之一。
216-
216+
217217 - ** conditions.type** (string),必需
218-
218+
219219 副本集状况的类型。
220-
220+
221221 <!--
222222 - **conditions.lastTransitionTime** (Time)
223223
@@ -228,13 +228,13 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
228228 -->
229229
230230 - ** conditions.lastTransitionTime** (Time)
231-
231+
232232 状况上次从一个状态转换为另一个状态的时间。
233-
233+
234234 <a name =" Time " ></a >
235235 ** Time 是对 time.Time 的封装。Time 支持对 YAML 和 JSON 进行正确封包。
236236 为 time 包的许多函数方法提供了封装器。**
237-
237+
238238 <!--
239239 - **conditions.message** (string)
240240
@@ -248,9 +248,9 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
248248 - ** conditions.message** (string)
249249
250250 这是一条人类可读的消息,指示有关上次转换的详细信息。
251-
251+
252252 - ** conditions.reason** (string)
253-
253+
254254 状况上次转换的原因。
255255
256256<!--
@@ -406,6 +406,8 @@ GET /apis/apps/v1/namespaces/{namespace}/replicasets
406406- **pretty** (*in query*): string
407407- **resourceVersion** (*in query*): string
408408- **resourceVersionMatch** (*in query*): string
409+ - **sendInitialEvents** (*in query*): boolean
410+ - **shardSelector** (*in query*): string
409411- **timeoutSeconds** (*in query*): integer
410412- **watch** (*in query*): boolean
411413-->
@@ -450,6 +452,10 @@ GET /apis/apps/v1/namespaces/{namespace}/replicasets
450452- ** sendInitialEvents** (** 查询参数** ): boolean
451453
452454 <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
455+
456+ - ** shardSelector** (** 查询参数** ): string
457+
458+ <a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a >
453459
454460- ** timeoutSeconds** (** 查询参数** ): integer
455461
@@ -489,6 +495,8 @@ GET /apis/apps/v1/replicasets
489495- **pretty** (*in query*): string
490496- **resourceVersion** (*in query*): string
491497- **resourceVersionMatch** (*in query*): string
498+ - **sendInitialEvents** (*in query*): boolean
499+ - **shardSelector** (*in query*): string
492500- **timeoutSeconds** (*in query*): integer
493501- **watch** (*in query*): boolean
494502-->
@@ -530,6 +538,10 @@ GET /apis/apps/v1/replicasets
530538
531539 <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
532540
541+ - ** shardSelector** (** 查询参数** ): string
542+
543+ <a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a >
544+
533545- ** timeoutSeconds** (** 查询参数** ): integer
534546
535547 <a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
@@ -950,6 +962,8 @@ DELETE /apis/apps/v1/namespaces/{namespace}/replicasets
950962- **propagationPolicy** (*in query*): string
951963- **resourceVersion** (*in query*): string
952964- **resourceVersionMatch** (*in query*): string
965+ - **sendInitialEvents** (*in query*): boolean
966+ - **shardSelector** (*in query*): string
953967- **timeoutSeconds** (*in query*): integer
954968-->
955969#### 参数
@@ -1007,6 +1021,10 @@ DELETE /apis/apps/v1/namespaces/{namespace}/replicasets
10071021- ** sendInitialEvents** (** 查询参数** ): boolean
10081022
10091023 <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
1024+
1025+ - ** shardSelector** (** 查询参数** ): string
1026+
1027+ <a href="{{< ref "../common-parameters/common-parameters#shardSelector" >}}">shardSelector</a >
10101028
10111029- ** timeoutSeconds** (** 查询参数** ): integer
10121030
0 commit comments