ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).
JSON representation |
---|
{ "errorMessage" : string , "conditions" : [ { object ( |
Fields | |
---|---|
conditions[]
|
ResourceCondition provide a standard mechanism for higher-level status reporting from controller. |
version
|
Reflect current version of the resource. |
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 (
|
Fields | |
---|---|
type
|
Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady) |
reason
|
Machine-readable message indicating details about last transition. |
lastTransitionTime
|
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: |
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 (
|
Fields | |
---|---|
versions[]
|
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
|
Resource version. |
count
|
Number of machines under the above version. |