Class: Google::Container::V1::NodePoolAutoscaling
- Inherits:
-
Object
- Object
- Google::Container::V1::NodePoolAutoscaling
- 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
-
#enabled ⇒ true, false
Is autoscaling enabled for this node pool.
-
#max_node_count ⇒ Integer
Maximum number of nodes in the NodePool.
-
#min_node_count ⇒ Integer
Minimum number of nodes in the NodePool.
Instance Attribute Details
#enabled ⇒ true, false
Returns 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_count ⇒ Integer
Returns 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_count ⇒ Integer
Returns 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 |