InstanceClusterAutoscalingConfig class
Constructors
-
InstanceClusterAutoscalingConfig({required Input<int> cpuTarget, required Input<int> maxNodes, required Input<int> minNodes, 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.
const
-
InstanceClusterAutoscalingConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
cpuTarget
→ Input<int>
-
The target CPU utilization for autoscaling, in percentage. Must be between 10 and 80.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
maxNodes
→ Input<int>
-
The maximum number of nodes for autoscaling.
final
-
minNodes
→ Input<int>
-
The minimum number of nodes for autoscaling.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageTarget
→ Input<int?>?
-
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.
final