@@ -6,7 +6,7 @@ api_metadata:
6
6
content_type : " api_reference"
7
7
description : " ComponentStatus(和 ComponentStatusList)保存集群检验信息。"
8
8
title : " ComponentStatus"
9
- weight : 10
9
+ weight : 2
10
10
---
11
11
<!--
12
12
api_metadata:
@@ -16,7 +16,7 @@ api_metadata:
16
16
content_type: "api_reference"
17
17
description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info."
18
18
title: "ComponentStatus"
19
- weight: 10
19
+ weight: 2
20
20
auto_generated: true
21
21
-->
22
22
@@ -49,15 +49,21 @@ ComponentStatus(和 ComponentStatusList)保存集群检验信息。
49
49
50
50
<!--
51
51
*Patch strategy: merge on key `type`*
52
+
53
+ *Map: unique values on key type will be kept during a merge*
54
+
52
55
List of component conditions observed
53
56
54
57
<a name="ComponentCondition"></a>
55
58
*Information about the condition of a component.*
56
59
57
60
- **conditions.status** (string), required
61
+
58
62
Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
59
63
-->
60
64
** 补丁策略:基于键 ` type ` 合并**
65
+
66
+ ** Map:合并期间根据键 type 保留其唯一值**
61
67
62
68
观测到的组件状况的列表。
63
69
@@ -91,11 +97,13 @@ ComponentStatus(和 ComponentStatusList)保存集群检验信息。
91
97
组件状况相关消息。例如,有关健康检查的信息。
92
98
93
99
## ComponentStatusList {#ComponentStatusList}
100
+
94
101
<!--
95
102
Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+
96
103
-->
97
104
作为 ComponentStatus 对象列表,所有组件状况的状态。
98
105
已废弃:该 API 在 v1.19 及更高版本中废弃。
106
+
99
107
<hr >
100
108
101
109
- ** apiVersion** : v1
@@ -125,31 +133,41 @@ Status of all the conditions for the component as a list of ComponentStatus obje
125
133
#### HTTP Request
126
134
-->
127
135
## 操作 {#Operations}
136
+
128
137
<hr >
129
138
130
139
### ` get ` 读取指定的 ComponentStatus
140
+
131
141
#### HTTP 请求
142
+
132
143
GET /api/v1/componentstatuses/{name}
133
144
134
145
<!--
135
146
#### Parameters
147
+
136
148
- **name** (*in path*): string, required
149
+
137
150
name of the ComponentStatus
151
+
138
152
- **pretty** (*in query*): string
153
+
154
+ <a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a>
139
155
-->
140
156
#### 参数
141
- - ** name** (** 路径参数** ): string,必需
142
157
143
- ComponentStatus 的名称
158
+ - ** name** (** 路径参数** ):string,必需
159
+
160
+ ComponentStatus 的名称。
144
161
145
- - ** pretty** ( ** 查询参数** ): string
162
+ - ** pretty** ( ** 查询参数** ): string
146
163
147
164
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
148
165
149
166
<!--
150
167
#### Response
151
168
-->
152
169
#### 响应
170
+
153
171
200 (<a href="{{< ref "../cluster-resources/component-status-v1#ComponentStatus" >}}">ComponentStatus</a >): OK
154
172
155
173
401: Unauthorized
@@ -159,7 +177,9 @@ GET /api/v1/componentstatuses/{name}
159
177
#### HTTP Request
160
178
-->
161
179
### ` list ` 列出 ComponentStatus 类别的对象
180
+
162
181
#### HTTP 请求
182
+
163
183
GET /api/v1/componentstatuses
164
184
165
185
<!--
@@ -177,54 +197,56 @@ GET /api/v1/componentstatuses
177
197
- **watch** (*in query*): boolean
178
198
-->
179
199
#### 参数
180
- - ** allowWatchBookmarks** (** 查询参数** ): boolean
200
+
201
+ - ** allowWatchBookmarks** (** 查询参数** ):boolean
181
202
182
203
<a href="{{< ref "../common-parameters/common-parameters#allowWatchBookmarks" >}}">allowWatchBookmarks</a >
183
204
184
- - ** continue** ( ** 查询参数** ): string
205
+ - ** continue** ( ** 查询参数** ): string
185
206
186
207
<a href="{{< ref "../common-parameters/common-parameters#continue" >}}">continue</a >
187
208
188
- - ** fieldSelector** ( ** 查询参数** ): string
209
+ - ** fieldSelector** ( ** 查询参数** ): string
189
210
190
211
<a href="{{< ref "../common-parameters/common-parameters#fieldSelector" >}}">fieldSelector</a >
191
212
192
- - ** labelSelector** ( ** 查询参数** ): string
213
+ - ** labelSelector** ( ** 查询参数** ): string
193
214
194
215
<a href="{{< ref "../common-parameters/common-parameters#labelSelector" >}}">labelSelector</a >
195
216
196
- - ** limit** ( ** 查询参数** ): integer
217
+ - ** limit** ( ** 查询参数** ): integer
197
218
198
219
<a href="{{< ref "../common-parameters/common-parameters#limit" >}}">limit</a >
199
220
200
- - ** pretty** ( ** 查询参数** ): string
221
+ - ** pretty** ( ** 查询参数** ): string
201
222
202
223
<a href="{{< ref "../common-parameters/common-parameters#pretty" >}}">pretty</a >
203
224
204
- - ** resourceVersion** ( ** 查询参数** ): string
225
+ - ** resourceVersion** ( ** 查询参数** ): string
205
226
206
227
<a href="{{< ref "../common-parameters/common-parameters#resourceVersion" >}}">resourceVersion</a >
207
228
208
- - ** resourceVersionMatch** ( ** 查询参数** ): string
229
+ - ** resourceVersionMatch** ( ** 查询参数** ): string
209
230
210
231
<a href="{{< ref "../common-parameters/common-parameters#resourceVersionMatch" >}}">resourceVersionMatch</a >
211
232
212
- - ** sendInitialEvents** ( ** 查询参数** ): boolean
233
+ - ** sendInitialEvents** ( ** 查询参数** ): boolean
213
234
214
235
<a href="{{< ref "../common-parameters/common-parameters#sendInitialEvents" >}}">sendInitialEvents</a >
215
236
216
- - ** timeoutSeconds** ( ** 查询参数** ): integer
237
+ - ** timeoutSeconds** ( ** 查询参数** ): integer
217
238
218
239
<a href="{{< ref "../common-parameters/common-parameters#timeoutSeconds" >}}">timeoutSeconds</a >
219
240
220
- - ** watch** ( ** 查询参数** ): boolean
241
+ - ** watch** ( ** 查询参数** ): boolean
221
242
222
243
<a href="{{< ref "../common-parameters/common-parameters#watch" >}}">watch</a >
223
244
224
245
<!--
225
246
#### Response
226
247
-->
227
248
#### 响应
249
+
228
250
200 (<a href="{{< ref "../cluster-resources/component-status-v1#ComponentStatusList" >}}">ComponentStatusList</a >): OK
229
251
230
252
401: Unauthorized
0 commit comments