Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::NodePoolAutoscaling (v0.21.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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.

#location_policy

def location_policy() -> ::Google::Cloud::Container::V1beta1::NodePoolAutoscaling::LocationPolicy
Returns

#location_policy=

def location_policy=(value) -> ::Google::Cloud::Container::V1beta1::NodePoolAutoscaling::LocationPolicy
Parameter
Returns

#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.

#total_max_node_count

def total_max_node_count() -> ::Integer
Returns
  • (::Integer) — Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

#total_max_node_count=

def total_max_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
Returns
  • (::Integer) — Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

#total_min_node_count

def total_min_node_count() -> ::Integer
Returns
  • (::Integer) — Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.

#total_min_node_count=

def total_min_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.
Returns
  • (::Integer) — Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.