DaanHoogland commented on code in PR #14042:
URL: https://github.com/apache/cloudstack/pull/14042#discussion_r4142312157
##########
api/src/main/java/com/cloud/deploy/DeploymentClusterPlanner.java:
##########
@@ -56,6 +57,15 @@ public interface DeploymentClusterPlanner extends
DeploymentPlanner {
"Enable/Disable cluster thresholds. If disabled, an instance can
start in a cluster even though the threshold may be crossed.",
false,
ConfigKey.Scope.Global);
+ // Reserve spare cluster capacity for HA failover.
+ static final ConfigKey<Float> ClusterHAFailoverReserveThreshold =
+ new ConfigKey<Float>(
Review Comment:
```suggestion
new ConfigKey<>(
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]