Class: Google::Container::V1beta1::StatusCondition

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb

Overview

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

Defined Under Namespace

Modules: Code

Instance Attribute Summary collapse

Instance Attribute Details

#codeGoogle::Container::V1beta1::StatusCondition::Code

Returns Machine-friendly representation of the condition.

Returns:



2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2175

class StatusCondition
  # Code for each condition
  module Code
    # UNKNOWN indicates a generic condition.
    UNKNOWN = 0

    # GCE_STOCKOUT indicates a Google Compute Engine stockout.
    GCE_STOCKOUT = 1

    # GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
    # service account.
    GKE_SERVICE_ACCOUNT_DELETED = 2

    # Google Compute Engine quota was exceeded.
    GCE_QUOTA_EXCEEDED = 3

    # Cluster state was manually changed by an SRE due to a system logic error.
    # More codes TBA
    SET_BY_OPERATOR = 4
  end
end

#messageString

Returns Human-friendly representation of the condition.

Returns:

  • (String)

    Human-friendly representation of the condition



2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2175

class StatusCondition
  # Code for each condition
  module Code
    # UNKNOWN indicates a generic condition.
    UNKNOWN = 0

    # GCE_STOCKOUT indicates a Google Compute Engine stockout.
    GCE_STOCKOUT = 1

    # GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
    # service account.
    GKE_SERVICE_ACCOUNT_DELETED = 2

    # Google Compute Engine quota was exceeded.
    GCE_QUOTA_EXCEEDED = 3

    # Cluster state was manually changed by an SRE due to a system logic error.
    # More codes TBA
    SET_BY_OPERATOR = 4
  end
end