ClusterClusterAutoscaling class
Constructors
-
ClusterClusterAutoscaling({Input<ClusterClusterAutoscalingAutoProvisioningDefaults?>? autoProvisioningDefaults, Input<List<String>?>? autoProvisioningLocations, Input<String?>? autoscalingProfile, Input<bool?>? defaultComputeClassEnabled, Input<bool?>? enabled, Input<List<ClusterClusterAutoscalingResourceLimit>?>? resourceLimits})
-
Creates a new ClusterClusterAutoscaling.
autoProvisioningDefaults Contains defaults for a node pool created by NAP. A subset of fields also apply to
autoProvisioningLocations The list of Google Compute Engine
autoscalingProfile Configuration
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. Must be supplied for GKE Standard clusters, true is implied
resourceLimits Global constraints for machine resources in the
const
-
ClusterClusterAutoscaling.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
autoProvisioningDefaults
→ Input<ClusterClusterAutoscalingAutoProvisioningDefaults?>?
-
Contains defaults for a node pool created by NAP. A subset of fields also apply to
GKE Autopilot clusters.
Structure is documented below.
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. Must be supplied for GKE Standard clusters,
true is implied
for autopilot clusters. Resource limits for cpu and memory must be defined to enable node auto-provisioning for GKE Standard.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
resourceLimits
→ Input<List<ClusterClusterAutoscalingResourceLimit>?>?
-
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. Limits can't be unset entirely, they can only be replaced. Structure is documented below.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited