Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeNodePoolConfig::GkeNodePoolAutoscalingConfig (v0.21.0)

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 node pool. Must be >= min_node_count, and must be > 0. 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 node pool. Must be >= min_node_count, and must be > 0. Note: Quota must be sufficient to scale up the cluster.
Returns
  • (::Integer) — The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. 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 node pool. 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 node pool. Must be >= 0 and <= max_node_count.
Returns
  • (::Integer) — The minimum number of nodes in the node pool. Must be >= 0 and <= max_node_count.