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)
补丁策略:按键
type
合并观察到的组件条件列表
conditions.status (string), required
组件条件的状态。对于“健康”的有效值为:“True”、“False”或“Unknown”。
conditions.type (string), required
组件条件的类型。有效值:“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), required
ComponentStatus 对象列表。
操作
get
读取指定的 ComponentStatus
HTTP 请求
GET /api/v1/componentstatuses/{name}
参数
name (在路径中): string, required
ComponentStatus 的名称
pretty (在查询中): string
响应
200 (ComponentStatus): OK
401: 未授权
list
列出 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: 未授权
此页面是自动生成的。
如果您打算报告此页面的问题,请在您的问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。