@@ -6,7 +6,7 @@ api_metadata:
66content_type : " api_reference"
77description : " ComponentStatus(和 ComponentStatusList)保存集群检验信息。"
88title : " ComponentStatus"
9- weight : 10
9+ weight : 2
1010---
1111<!--
1212api_metadata:
@@ -16,7 +16,7 @@ api_metadata:
1616content_type: "api_reference"
1717description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info."
1818title: "ComponentStatus"
19- weight: 10
19+ weight: 2
2020auto_generated: true
2121-->
2222
@@ -49,15 +49,21 @@ ComponentStatus(和 ComponentStatusList)保存集群检验信息。
4949
5050 <!--
5151 *Patch strategy: merge on key `type`*
52+
53+ *Map: unique values on key type will be kept during a merge*
54+
5255 List of component conditions observed
5356
5457 <a name="ComponentCondition"></a>
5558 *Information about the condition of a component.*
5659
5760 - **conditions.status** (string), required
61+
5862 Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
5963 -->
6064 ** 补丁策略:基于键 ` type ` 合并**
65+
66+ ** Map:合并期间根据键 type 保留其唯一值**
6167
6268 观测到的组件状况的列表。
6369
@@ -91,11 +97,13 @@ ComponentStatus(和 ComponentStatusList)保存集群检验信息。
9197 组件状况相关消息。例如,有关健康检查的信息。
9298
9399## ComponentStatusList {#ComponentStatusList}
100+
94101<!--
95102Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+
96103-->
97104作为 ComponentStatus 对象列表,所有组件状况的状态。
98105已废弃:该 API 在 v1.19 及更高版本中废弃。
106+
99107<hr >
100108
101109- ** apiVersion** : v1
@@ -125,31 +133,41 @@ Status of all the conditions for the component as a list of ComponentStatus obje
125133#### HTTP Request
126134-->
127135## 操作 {#Operations}
136+
128137<hr >
129138
130139### ` get ` 读取指定的 ComponentStatus
140+
131141#### HTTP 请求
142+
132143GET /api/v1/componentstatuses/{name}
133144
134145<!--
135146#### Parameters
147+
136148- **name** (*in path*): string, required
149+
137150 name of the ComponentStatus
151+
138152- **pretty** (*in query*): string
153+
154+ <a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
139155-->
140156#### 参数
141- - ** name** (** 路径参数** ): string,必需
142157
143- ComponentStatus 的名称
158+ - ** name** (** 路径参数** ):string,必需
159+
160+ ComponentStatus 的名称。
144161
145- - ** pretty** ( ** 查询参数** ): string
162+ - ** pretty** ( ** 查询参数** ): string
146163
147164 <a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
148165
149166<!--
150167#### Response
151168-->
152169#### 响应
170+
153171200 (<a href="{{< ref "../cluster-resources/component-status-v1#ComponentStatus" >}}">ComponentStatus</a >): OK
154172
155173401: Unauthorized
@@ -159,7 +177,9 @@ GET /api/v1/componentstatuses/{name}
159177#### HTTP Request
160178-->
161179### ` list ` 列出 ComponentStatus 类别的对象
180+
162181#### HTTP 请求
182+
163183GET /api/v1/componentstatuses
164184
165185<!--
@@ -177,54 +197,56 @@ GET /api/v1/componentstatuses
177197- **watch** (*in query*): boolean
178198-->
179199#### 参数
180- - ** allowWatchBookmarks** (** 查询参数** ): boolean
200+
201+ - ** allowWatchBookmarks** (** 查询参数** ):boolean
181202
182203 <a href="{{< ref "../common-parameters/common-parameters#allowWatchBookmarks" >}}">allowWatchBookmarks</a >
183204
184- - ** continue** ( ** 查询参数** ): string
205+ - ** continue** ( ** 查询参数** ): string
185206
186207 <a href="{{< ref "../common-parameters/common-parameters#continue" >}}">continue</a >
187208
188- - ** fieldSelector** ( ** 查询参数** ): string
209+ - ** fieldSelector** ( ** 查询参数** ): string
189210
190211 <a href="{{< ref "../common-parameters/common-parameters#fieldSelector" >}}">fieldSelector</a >
191212
192- - ** labelSelector** ( ** 查询参数** ): string
213+ - ** labelSelector** ( ** 查询参数** ): string
193214
194215 <a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a >
195216
196- - ** limit** ( ** 查询参数** ): integer
217+ - ** limit** ( ** 查询参数** ): integer
197218
198219 <a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a >
199220
200- - ** pretty** ( ** 查询参数** ): string
221+ - ** pretty** ( ** 查询参数** ): string
201222
202223 <a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
203224
204- - ** resourceVersion** ( ** 查询参数** ): string
225+ - ** resourceVersion** ( ** 查询参数** ): string
205226
206227 <a href="{{< ref "../common-parameters/common-parameters#resourceVersion" >}}">resourceVersion</a >
207228
208- - ** resourceVersionMatch** ( ** 查询参数** ): string
229+ - ** resourceVersionMatch** ( ** 查询参数** ): string
209230
210231 <a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a >
211232
212- - ** sendInitialEvents** ( ** 查询参数** ): boolean
233+ - ** sendInitialEvents** ( ** 查询参数** ): boolean
213234
214235 <a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
215236
216- - ** timeoutSeconds** ( ** 查询参数** ): integer
237+ - ** timeoutSeconds** ( ** 查询参数** ): integer
217238
218239 <a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
219240
220- - ** watch** ( ** 查询参数** ): boolean
241+ - ** watch** ( ** 查询参数** ): boolean
221242
222243 <a href="{{< ref "../common-parameters/common-parameters#watch" >}}">watch</a >
223244
224245<!--
225246#### Response
226247-->
227248#### 响应
249+
228250200 (<a href="{{< ref "../cluster-resources/component-status-v1#ComponentStatusList" >}}">ComponentStatusList</a >): OK
229251
230252401: Unauthorized
0 commit comments