ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).
JSON representation |
---|
{
"errorMessage": string,
"conditions": [
{
object ( |
Fields | |
---|---|
errorMessage |
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[] |
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 ( |
Fields | |
---|---|
type |
Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady) |
reason |
Machine-readable message indicating details about last transition. |
message |
Human-readable message indicating details about last transition. |
lastTransitionTime |
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: |
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. |