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 專案的其他地方進行。