Skip to main content

ComponentStatus [v1]

Description
ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+
Type
`object`

Specification​

PropertyTypeDescription
apiVersionstringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
conditionsarrayList of component conditions observed
conditions[]objectInformation about the condition of a component.
kindstringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataObjectMetaStandard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

.conditions​

Description
List of component conditions observed
Type
`array`

.conditions[]​

Description
Information about the condition of a component.
Type
`object`
Required
  • type
  • status
PropertyTypeDescription
errorstringCondition error code for a component. For example, a health check error code.
messagestringMessage about the condition for a component. For example, information about a health check.
statusstringStatus of the condition for a component. Valid values for "Healthy": "True", "False", or "Unknown".
typestringType of condition for a component. Valid value: "Healthy"

API endpoints​

The following API endpoints are available:

  • /api/v1/componentstatuses
    • GET: list objects of kind ComponentStatus
  • /api/v1/componentstatuses/{name}
    • GET: read the specified ComponentStatus

/api/v1/componentstatuses​

HTTP method
`GET`
Description
list objects of kind ComponentStatus

HTTP responses

HTTP codeReponse body
200 - OKComponentStatusList schema
401 - UnauthorizedEmpty

/api/v1/componentstatuses/{name}​

Global path parameters

ParameterTypeDescription
namestringname of the ComponentStatus
HTTP method
`GET`
Description
read the specified ComponentStatus

HTTP responses

HTTP codeReponse body
200 - OKComponentStatus schema
401 - UnauthorizedEmpty