ComponentStatus
apiVersion: v1
import "k8s.io/api/core/v1"
ComponentStatus
ComponentStatus(以及 ComponentStatusList)包含集群验证信息。 已废弃: 此 API 在 v1.19+ 版本中已废弃。
apiVersion: v1
kind: ComponentStatus
metadata (ObjectMeta)
标准对象的元数据。 更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
conditions ([]ComponentCondition)
Patch 策略:根据键
type
进行合并映射:合并期间将保留键 type 上的唯一值
已观察到的组件状态列表
conditions.status (string), 必需
组件的状态。 "Healthy" 的有效值为:"True"、"False" 或 "Unknown"。
conditions.type (string), 必需
组件的状态类型。 有效值:"Healthy"
conditions.error (string)
组件的状态错误码。 例如,健康检查错误码。
conditions.message (string)
关于组件状态的消息。 例如,关于健康检查的信息。
ComponentStatusList
组件的所有状态作为 ComponentStatus 对象列表。 已废弃: 此 API 在 v1.19+ 版本中已废弃。
apiVersion: v1
kind: ComponentStatusList
metadata (ListMeta)
标准列表元数据。 更多信息:https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
items ([]ComponentStatus), 必需
ComponentStatus 对象列表。
操作
get
读取指定的 ComponentStatus
HTTP 请求
GET /api/v1/componentstatuses/{name}
参数
name (在路径中): string, 必需
ComponentStatus 的名称
pretty (在查询参数中): string
响应
200 (ComponentStatus): OK
401: 未授权
list
列出 kind 为 ComponentStatus 的对象
HTTP 请求
GET /api/v1/componentstatuses
参数
allowWatchBookmarks (在查询参数中): boolean
continue (在查询参数中): string
fieldSelector (在查询参数中): string
labelSelector (在查询参数中): string
limit (在查询参数中): integer
pretty (在查询参数中): string
resourceVersion (在查询参数中): string
resourceVersionMatch (在查询参数中): string
sendInitialEvents (在查询参数中): boolean
timeoutSeconds (在查询参数中): integer
watch (在查询参数中): boolean
响应
200 (ComponentStatusList): OK
401: 未授权
本页面是自动生成的。
如果您打算报告此页面存在的问题,请在 Issue 描述中注明该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。