Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::NodePoolAutoscaling (v0.8.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NodePoolAutoscaling.

NodePoolAutoscaling contains information required by cluster autoscaler 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

#autoprovisioned

def autoprovisioned() -> ::Boolean
Returns
  • (::Boolean) — Can this node pool be deleted automatically.

#autoprovisioned=

def autoprovisioned=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Can this node pool be deleted automatically.
Returns
  • (::Boolean) — Can this node pool be deleted automatically.

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Is autoscaling enabled for this node pool.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Is autoscaling enabled for this node pool.
Returns
  • (::Boolean) — Is autoscaling enabled for this node pool.

#max_node_count

def max_node_count() -> ::Integer
Returns
  • (::Integer) — Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.

#max_node_count=

def max_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
Returns
  • (::Integer) — Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.

#min_node_count

def min_node_count() -> ::Integer
Returns
  • (::Integer) — Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.

#min_node_count=

def min_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
Returns
  • (::Integer) — Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.