Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAutoscalingConfig.
GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#max_node_count
def max_node_count() -> ::Integer
Returns
- (::Integer) — The maximum number of nodes in the NodePool. Must be >= min_node_count. Note: Quota must be sufficient to scale up the cluster.
#max_node_count=
def max_node_count=(value) -> ::Integer
Parameter
- value (::Integer) — The maximum number of nodes in the NodePool. Must be >= min_node_count. Note: Quota must be sufficient to scale up the cluster.
Returns
- (::Integer) — The maximum number of nodes in the NodePool. Must be >= min_node_count. Note: Quota must be sufficient to scale up the cluster.
#min_node_count
def min_node_count() -> ::Integer
Returns
- (::Integer) — The minimum number of nodes in the NodePool. Must be >= 0 and <= max_node_count.
#min_node_count=
def min_node_count=(value) -> ::Integer
Parameter
- value (::Integer) — The minimum number of nodes in the NodePool. Must be >= 0 and <= max_node_count.
Returns
- (::Integer) — The minimum number of nodes in the NodePool. Must be >= 0 and <= max_node_count.