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 
 
) 
 } 
 ] 
 , 
 "version" 
 : 
 string 
 , 
 "versions" 
 : 
 { 
 object (  Versions 
 
) 
 } 
 } 
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.

version

string

Reflect current version of the resource.

versions

object ( Versions )

Shows the mapping of a given version to the number of machines under this version.

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.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

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.

Versions

Versions describes the mapping of a given version to the number of machines under this version.

JSON representation
 { 
 "versions" 
 : 
 [ 
 { 
 object (  Version 
 
) 
 } 
 ] 
 } 
Fields
versions[]

object ( Version )

Shows the mapping of a given version to the number of machines under this version.

Version

Version describes the number of nodes at a given version under a resource.

JSON representation
 { 
 "version" 
 : 
 string 
 , 
 "count" 
 : 
 string 
 } 
Fields
version

string

Resource version.

count

string ( int64 format)

Number of machines under the above version.

Design a Mobile Site
View Site in Mobile | Classic
Share by: