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
上合併Map:在合併期間,將保留金鑰類型上的唯一值
觀察到的元件條件清單
conditions.status (字串),必要
元件條件的狀態。對於「Healthy」的有效值:「True」、「False」或「Unknown」。
conditions.type (字串),必要
元件條件的類型。有效值:「Healthy」
conditions.error (字串)
元件的條件錯誤代碼。例如,健康狀態檢查錯誤代碼。
conditions.message (字串)
關於元件條件的訊息。例如,關於健康狀態檢查的資訊。
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 (在路徑中):字串,必要
ComponentStatus 的名稱
pretty (在查詢中):字串
回應
200 (ComponentStatus):OK
401:未授權
list
列出 ComponentStatus 種類的物件
HTTP 請求
GET /api/v1/componentstatuses
參數
allowWatchBookmarks (在查詢中):布林值
continue (在查詢中):字串
fieldSelector (在查詢中):字串
labelSelector (在查詢中):字串
limit (在查詢中):整數
pretty (在查詢中):字串
resourceVersion (在查詢中):字串
resourceVersionMatch (在查詢中):字串
sendInitialEvents (在查詢中):布林值
timeoutSeconds (在查詢中):整數
watch (在查詢中):布林值
回應
200 (ComponentStatusList):OK
401:未授權
此頁面為自動產生。
如果您計劃回報此頁面的問題,請在您的問題描述中提及此頁面為自動產生。修正可能需要在 Kubernetes 專案的其他地方進行。