KxClusterAutoScalingConfiguration class

Constructors

KxClusterAutoScalingConfiguration({required Input<String> autoScalingMetric, required Input<int> maxNodeCount, required Input<double> metricTarget, required Input<int> minNodeCount, required Input<double> scaleInCooldownSeconds, required Input<double> scaleOutCooldownSeconds})
Creates a new KxClusterAutoScalingConfiguration. autoScalingMetric Metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all nodes in a cluster. maxNodeCount Highest number of nodes to scale. Cannot be greater than 5. metricTarget Desired value of chosen autoScalingMetric. When metric drops below this value, cluster will scale in. When metric goes above this value, cluster will scale out. Can be set between 0 and 100 percent. minNodeCount Lowest number of nodes to scale. Must be at least 1 and less than the maxNodeCount. If nodes in cluster belong to multiple availability zones, then minNodeCount must be at least 3. scaleInCooldownSeconds Duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event. scaleOutCooldownSeconds Duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
const
KxClusterAutoScalingConfiguration.fromMap(Map<String, dynamic> map)
factory

Properties

autoScalingMetric → Input<String>
Metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all nodes in a cluster.
final
hashCode → int
The hash code for this object.
no setterinherited
maxNodeCount → Input<int>
Highest number of nodes to scale. Cannot be greater than 5.
final
metricTarget → Input<double>
Desired value of chosen autoScalingMetric. When metric drops below this value, cluster will scale in. When metric goes above this value, cluster will scale out. Can be set between 0 and 100 percent.
final
minNodeCount → Input<int>
Lowest number of nodes to scale. Must be at least 1 and less than the maxNodeCount. If nodes in cluster belong to multiple availability zones, then minNodeCount must be at least 3.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleInCooldownSeconds → Input<double>
Duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.
final
scaleOutCooldownSeconds → Input<double>
Duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited