ResourceStatus

ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).

JSON representation
{
  "errorMessage": string,
  "conditions": [
    {
      object (ResourceCondition)
    }
  ]
}
Fields
errorMessage

string

Human-friendly representation of the error message from controller. The error message can be temporary as the controller controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.

conditions[]

object (ResourceCondition)

ResourceCondition provide a standard mechanism for higher-level status reporting from controller.

ResourceCondition

ResourceCondition provides a standard mechanism for higher-level status reporting from controller.

JSON representation
{
  "type": string,
  "reason": string,
  "message": string,
  "lastTransitionTime": string,
  "state": enum (State)
}
Fields
type

string

Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)

reason

string

Machine-readable message indicating details about last transition.

message

string

Human-readable message indicating details about last transition.

lastTransitionTime

string (Timestamp format)

Last time the condition transit from one status to another.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

state

enum (State)

state of the condition.

State

The lifecycle state of the condition. Additional intermediate State, e.g. STATE_DEGRADED can be added.

Enums
STATE_UNSPECIFIED Not set.
STATE_TRUE Resource is in the condition.
STATE_FALSE Resource is not in the condition.
STATE_UNKNOWN Kubernetes controller can't decide if the resource is in the condition or not.