GetClusterClusterAutoscaling class
Constructors
-
GetClusterClusterAutoscaling({required Input<List<GetClusterClusterAutoscalingAutoProvisioningDefault>> autoProvisioningDefaults, required Input<List<String>> autoProvisioningLocations, required Input<String> autoscalingProfile, required Input<bool> defaultComputeClassEnabled, required Input<bool> enabled, required Input<List<GetClusterClusterAutoscalingResourceLimit>> resourceLimits})
-
Creates a new GetClusterClusterAutoscaling.
autoProvisioningDefaults Contains defaults for a node pool created by NAP.
autoProvisioningLocations The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
autoscalingProfile Configuration options for the Autoscaling profile feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability when deciding to remove nodes from a cluster. Can be BALANCED or OPTIMIZE_UTILIZATION. Defaults to BALANCED.
defaultComputeClassEnabled Specifies whether default compute class behaviour is enabled. If enabled, cluster autoscaler will use Compute Class with name default for all the workloads, if not overriden.
enabled Whether node auto-provisioning is enabled. Resource limits for cpu and memory must be defined to enable node auto-provisioning.
resourceLimits Global constraints for machine resources in the cluster. Configuring the cpu and memory types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning.
const
-
GetClusterClusterAutoscaling.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
autoProvisioningDefaults
→ Input<List<GetClusterClusterAutoscalingAutoProvisioningDefault>>
-
Contains defaults for a node pool created by NAP.
final
-
autoProvisioningLocations
→ Input<List<String>>
-
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
final
-
autoscalingProfile
→ Input<String>
-
Configuration options for the Autoscaling profile feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability when deciding to remove nodes from a cluster. Can be BALANCED or OPTIMIZE_UTILIZATION. Defaults to BALANCED.
final
-
defaultComputeClassEnabled
→ Input<bool>
-
Specifies whether default compute class behaviour is enabled. If enabled, cluster autoscaler will use Compute Class with name default for all the workloads, if not overriden.
final
-
enabled
→ Input<bool>
-
Whether node auto-provisioning is enabled. Resource limits for cpu and memory must be defined to enable node auto-provisioning.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
resourceLimits
→ Input<List<GetClusterClusterAutoscalingResourceLimit>>
-
Global constraints for machine resources in the cluster. Configuring the cpu and memory types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited