InstanceClusterAutoscalingConfig constructor

const InstanceClusterAutoscalingConfig({
  1. required Input<int> cpuTarget,
  2. required Input<int> maxNodes,
  3. required Input<int> minNodes,
  4. Input<int?>? storageTarget,
})

Creates a new InstanceClusterAutoscalingConfig. cpuTarget The target CPU utilization for autoscaling, in percentage. Must be between 10 and 80. maxNodes The maximum number of nodes for autoscaling. minNodes The minimum number of nodes for autoscaling. storageTarget The target storage utilization for autoscaling, in GB, for each node in a cluster. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16 TiB) for an HDD cluster. If not set, whatever is already set for the cluster will not change, or if the cluster is just being created, it will use the default value of 2560 for SSD clusters and 8192 for HDD clusters.

Implementation

const InstanceClusterAutoscalingConfig({
  required this.cpuTarget,
  required this.maxNodes,
  required this.minNodes,
  this.storageTarget,
});