--- api_metadata: apiVersion: "v1" import: "k8s.io/api/core/v1" kind: "ComponentStatus" content_type: "api_reference" description: "ComponentStatus (and ComponentStatusList) holds the cluster validation info." title: "ComponentStatus" weight: 2 auto_generated: true --- `apiVersion: v1` `import "k8s.io/api/core/v1"` ## ComponentStatus {#ComponentStatus} ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+
- **apiVersion**: v1 - **kind**: ComponentStatus - **metadata** (}}">ObjectMeta) Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - **conditions** ([]ComponentCondition) *Patch strategy: merge on key `type`* *Map: unique values on key type will be kept during a merge* List of component conditions observed *Information about the condition of a component.* - **conditions.status** (string), required Status of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown". - **conditions.type** (string), required Type of condition for a component. Valid value: "Healthy" - **conditions.error** (string) Condition error code for a component. For example, a health check error code. - **conditions.message** (string) Message about the condition for a component. For example, information about a health check. ## ComponentStatusList {#ComponentStatusList} Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+
- **apiVersion**: v1 - **kind**: ComponentStatusList - **metadata** (}}">ListMeta) Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - **items** ([]}}">ComponentStatus), required List of ComponentStatus objects. ## Operations {#Operations}
### `get` read the specified ComponentStatus #### HTTP Request GET /api/v1/componentstatuses/{name} #### Parameters - **name** (*in path*): string, required name of the ComponentStatus - **pretty** (*in query*): string }}">pretty #### Response 200 (}}">ComponentStatus): OK 401: Unauthorized ### `list` list objects of kind ComponentStatus #### HTTP Request GET /api/v1/componentstatuses #### Parameters - **allowWatchBookmarks** (*in query*): boolean }}">allowWatchBookmarks - **continue** (*in query*): string }}">continue - **fieldSelector** (*in query*): string }}">fieldSelector - **labelSelector** (*in query*): string }}">labelSelector - **limit** (*in query*): integer }}">limit - **pretty** (*in query*): string }}">pretty - **resourceVersion** (*in query*): string }}">resourceVersion - **resourceVersionMatch** (*in query*): string }}">resourceVersionMatch - **sendInitialEvents** (*in query*): boolean }}">sendInitialEvents - **timeoutSeconds** (*in query*): integer }}">timeoutSeconds - **watch** (*in query*): boolean }}">watch #### Response 200 (}}">ComponentStatusList): OK 401: Unauthorized