public class ClusterAsGroupOption extends AbstractModel
| Constructor and Description | 
|---|
| ClusterAsGroupOption() | 
| ClusterAsGroupOption(ClusterAsGroupOption source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getExpander()Get The scale-out method when there are multiple scaling groups. | 
| Boolean | getIgnoreDaemonSetsUtilization()Get Whether to ignore DaemonSet pods by default when calculating resource usage (default value: False: do not ignore)
Note: this field may return null, indicating that no valid value was found. | 
| Boolean | getIsScaleDownEnabled()Get Whether to enable scale-in
Note: this field may return null, indicating that no valid value was found. | 
| Long | getMaxEmptyBulkDelete()Get Max concurrent scale-in volume
Note: this field may return null, indicating that no valid value was found. | 
| Long | getMaxTotalUnreadyPercentage()Get Max percentage of unready nodes. | 
| Long | getOkTotalUnreadyCount()Get Number at which CA health detection is triggered (default value: 3). | 
| Long | getScaleDownDelay()Get Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in
Note: this field may return null, indicating that no valid value was found. | 
| Long | getScaleDownUnneededTime()Get Number of consecutive minutes of idleness after which the node is subject to scale-in (default value: 10)
Note: this field may return null, indicating that no valid value was found. | 
| Long | getScaleDownUnreadyTime()Get Amount of time before unready nodes become eligible for scale-in
Note: this field may return null, indicating that no valid value was found. | 
| Long | getScaleDownUtilizationThreshold()Get Percentage of node resource usage below which the node is considered to be idle (default value: 50)
Note: this field may return null, indicating that no valid value was found. | 
| Boolean | getSkipNodesWithLocalStorage()Get During scale-in, ignore nodes with local storage pods (default value: False)
Note: this field may return null, indicating that no valid value was found. | 
| Boolean | getSkipNodesWithSystemPods()Get During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet (default value: False)
Note: this field may return null, indicating that no valid value was found. | 
| Long | getUnregisteredNodeRemovalTime()Get Waiting time before CA deletes nodes that are not registered in Kubernetes
Note: this field may return null, indicating that no valid value was found. | 
| void | setExpander(String Expander)Set The scale-out method when there are multiple scaling groups. | 
| void | setIgnoreDaemonSetsUtilization(Boolean IgnoreDaemonSetsUtilization)Set Whether to ignore DaemonSet pods by default when calculating resource usage (default value: False: do not ignore)
Note: this field may return null, indicating that no valid value was found. | 
| void | setIsScaleDownEnabled(Boolean IsScaleDownEnabled)Set Whether to enable scale-in
Note: this field may return null, indicating that no valid value was found. | 
| void | setMaxEmptyBulkDelete(Long MaxEmptyBulkDelete)Set Max concurrent scale-in volume
Note: this field may return null, indicating that no valid value was found. | 
| void | setMaxTotalUnreadyPercentage(Long MaxTotalUnreadyPercentage)Set Max percentage of unready nodes. | 
| void | setOkTotalUnreadyCount(Long OkTotalUnreadyCount)Set Number at which CA health detection is triggered (default value: 3). | 
| void | setScaleDownDelay(Long ScaleDownDelay)Set Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in
Note: this field may return null, indicating that no valid value was found. | 
| void | setScaleDownUnneededTime(Long ScaleDownUnneededTime)Set Number of consecutive minutes of idleness after which the node is subject to scale-in (default value: 10)
Note: this field may return null, indicating that no valid value was found. | 
| void | setScaleDownUnreadyTime(Long ScaleDownUnreadyTime)Set Amount of time before unready nodes become eligible for scale-in
Note: this field may return null, indicating that no valid value was found. | 
| void | setScaleDownUtilizationThreshold(Long ScaleDownUtilizationThreshold)Set Percentage of node resource usage below which the node is considered to be idle (default value: 50)
Note: this field may return null, indicating that no valid value was found. | 
| void | setSkipNodesWithLocalStorage(Boolean SkipNodesWithLocalStorage)Set During scale-in, ignore nodes with local storage pods (default value: False)
Note: this field may return null, indicating that no valid value was found. | 
| void | setSkipNodesWithSystemPods(Boolean SkipNodesWithSystemPods)Set During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet (default value: False)
Note: this field may return null, indicating that no valid value was found. | 
| void | setUnregisteredNodeRemovalTime(Long UnregisteredNodeRemovalTime)Set Waiting time before CA deletes nodes that are not registered in Kubernetes
Note: this field may return null, indicating that no valid value was found. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ClusterAsGroupOption()
public ClusterAsGroupOption(ClusterAsGroupOption source)
public Boolean getIsScaleDownEnabled()
public void setIsScaleDownEnabled(Boolean IsScaleDownEnabled)
IsScaleDownEnabled - Whether to enable scale-in
Note: this field may return null, indicating that no valid value was found.public String getExpander()
public void setExpander(String Expander)
Expander - The scale-out method when there are multiple scaling groups. `random`: select a random scaling group. `most-pods`: choose the scaling group that can schedule the most pods. `least-waste`: select the scaling group that can ensure the fewest remaining resources after Pod scheduling.. The default value is `random`.)
Note: this field may return null, indicating that no valid value was found.public Long getMaxEmptyBulkDelete()
public void setMaxEmptyBulkDelete(Long MaxEmptyBulkDelete)
MaxEmptyBulkDelete - Max concurrent scale-in volume
Note: this field may return null, indicating that no valid value was found.public Long getScaleDownDelay()
public void setScaleDownDelay(Long ScaleDownDelay)
ScaleDownDelay - Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in
Note: this field may return null, indicating that no valid value was found.public Long getScaleDownUnneededTime()
public void setScaleDownUnneededTime(Long ScaleDownUnneededTime)
ScaleDownUnneededTime - Number of consecutive minutes of idleness after which the node is subject to scale-in (default value: 10)
Note: this field may return null, indicating that no valid value was found.public Long getScaleDownUtilizationThreshold()
public void setScaleDownUtilizationThreshold(Long ScaleDownUtilizationThreshold)
ScaleDownUtilizationThreshold - Percentage of node resource usage below which the node is considered to be idle (default value: 50)
Note: this field may return null, indicating that no valid value was found.public Boolean getSkipNodesWithLocalStorage()
public void setSkipNodesWithLocalStorage(Boolean SkipNodesWithLocalStorage)
SkipNodesWithLocalStorage - During scale-in, ignore nodes with local storage pods (default value: False)
Note: this field may return null, indicating that no valid value was found.public Boolean getSkipNodesWithSystemPods()
public void setSkipNodesWithSystemPods(Boolean SkipNodesWithSystemPods)
SkipNodesWithSystemPods - During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet (default value: False)
Note: this field may return null, indicating that no valid value was found.public Boolean getIgnoreDaemonSetsUtilization()
public void setIgnoreDaemonSetsUtilization(Boolean IgnoreDaemonSetsUtilization)
IgnoreDaemonSetsUtilization - Whether to ignore DaemonSet pods by default when calculating resource usage (default value: False: do not ignore)
Note: this field may return null, indicating that no valid value was found.public Long getOkTotalUnreadyCount()
public void setOkTotalUnreadyCount(Long OkTotalUnreadyCount)
OkTotalUnreadyCount - Number at which CA health detection is triggered (default value: 3). After the number specified in OkTotalUnreadyCount is exceeded, CA will perform health detection.
Note: this field may return null, indicating that no valid value was found.public Long getMaxTotalUnreadyPercentage()
public void setMaxTotalUnreadyPercentage(Long MaxTotalUnreadyPercentage)
MaxTotalUnreadyPercentage - Max percentage of unready nodes. After the max percentage is exceeded, CA will stop operation.
Note: this field may return null, indicating that no valid value was found.public Long getScaleDownUnreadyTime()
public void setScaleDownUnreadyTime(Long ScaleDownUnreadyTime)
ScaleDownUnreadyTime - Amount of time before unready nodes become eligible for scale-in
Note: this field may return null, indicating that no valid value was found.public Long getUnregisteredNodeRemovalTime()
public void setUnregisteredNodeRemovalTime(Long UnregisteredNodeRemovalTime)
UnregisteredNodeRemovalTime - Waiting time before CA deletes nodes that are not registered in Kubernetes
Note: this field may return null, indicating that no valid value was found.Copyright © 2022. All rights reserved.