Class NodePoolAutoscaling (2.46.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 NodePool. Must be >= 1 and <= max_node_count.="">
max_node_count int
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.
autoprovisioned bool
Can this node pool be deleted automatically.
location_policy google.cloud.container_v1beta1.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 1 less than 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 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.