Class ClusterAutoscaling (2.35.0)

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

ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.

Attributes

NameDescription
enable_node_autoprovisioning bool
Enables automatic node pool creation and deletion.
resource_limits MutableSequence[google.cloud.container_v1beta1.types.ResourceLimit]
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
autoscaling_profile google.cloud.container_v1beta1.types.ClusterAutoscaling.AutoscalingProfile
Defines autoscaling behaviour.
autoprovisioning_node_pool_defaults google.cloud.container_v1beta1.types.AutoprovisioningNodePoolDefaults
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
autoprovisioning_locations MutableSequence[str]
The list of Google Compute Engine zones __ in which the NodePool's nodes can be created by NAP.

Classes

AutoscalingProfile

AutoscalingProfile(value)

Defines possible options for autoscaling_profile field.

Values: PROFILE_UNSPECIFIED (0): No change to autoscaling configuration. OPTIMIZE_UTILIZATION (1): Prioritize optimizing utilization of resources. BALANCED (2): Use default (balanced) autoscaling configuration.