Class: Google::Container::V1beta1::NodePoolAutoscaling

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

Overview

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Instance Attribute Summary collapse

Instance Attribute Details

#autoprovisionedtrue, false

Returns Can this node pool be deleted automatically.

Returns:

  • (true, false)

    Can this node pool be deleted automatically.



2068
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2068

class NodePoolAutoscaling; end

#enabledtrue, false

Returns Is autoscaling enabled for this node pool.

Returns:

  • (true, false)

    Is autoscaling enabled for this node pool.



2068
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2068

class NodePoolAutoscaling; end

#max_node_countInteger

Returns Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.

Returns:

  • (Integer)

    Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.



2068
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2068

class NodePoolAutoscaling; end

#min_node_countInteger

Returns Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.

Returns:

  • (Integer)

    Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.



2068
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2068

class NodePoolAutoscaling; end