Class: Google::Container::V1::NodePoolAutoscaling

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/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

#enabledtrue, false

Returns Is autoscaling enabled for this node pool.

Returns:

  • (true, false)

    Is autoscaling enabled for this node pool.



1365
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1365

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.



1365
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1365

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.



1365
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1365

class NodePoolAutoscaling; end