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 |
|
---|---|
Name | Description |
enable_node_autoprovisioning |
bool
Enables automatic node pool creation and deletion. |
resource_limits |
MutableSequence[google.cloud.container_v1.types.ResourceLimit]
Contains global constraints regarding minimum and maximum amount of resources in the cluster. |
autoscaling_profile |
google.cloud.container_v1.types.ClusterAutoscaling.AutoscalingProfile
Defines autoscaling behaviour. |
autoprovisioning_node_pool_defaults |
google.cloud.container_v1.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.
|
default_compute_class_config |
google.cloud.container_v1.types.DefaultComputeClassConfig
Default compute class is a configuration for default compute class. |
Classes
AutoscalingProfile
AutoscalingProfile(value)
Defines possible options for autoscaling_profile field.