Class NodePoolAutoscaling (2.54.0)

NodePoolAutoscaling(mapping=None, *, ignore_unknown_fields=False, **kwargs)

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

Attributes

Name Description
enabled bool
Is autoscaling enabled for this node pool.
min_node_count int
Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.
max_node_count int
Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
autoprovisioned bool
Can this node pool be deleted automatically.
location_policy google.cloud.container_v1.types.NodePoolAutoscaling.LocationPolicy
Location policy used when scaling up a nodepool.
total_min_node_count int
Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the \*_node_count fields.
total_max_node_count int
Maximum number of nodes in the node pool. Must be greater than or equal to 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.

Classes

LocationPolicy

LocationPolicy(value)

Location policy specifies how zones are picked when scaling up the nodepool.