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),必需
组件条件的状态。 "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), required
ComponentStatus 对象列表。
操作
get
读取指定的 ComponentStatus
HTTP 请求
GET /api/v1/componentstatuses/{name}
参数
name (在路径中): string,必填
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 项目的其他地方进行。