public static interface BatchAICluster.UpdateStages.WithScaleSettings
Modifier and Type | Method and Description |
---|---|
BatchAICluster.Update |
withAutoScale(int minimumNodeCount,
int maximumNodeCount)
If autoScale settings are specified, the system automatically scales the cluster up and down (within
the supplied limits) based on the pending jobs on the cluster.
|
BatchAICluster.Update |
withAutoScale(int minimumNodeCount,
int maximumNodeCount,
int initialNodeCount)
If autoScale settings are specified, the system automatically scales the cluster up and down (within
the supplied limits) based on the pending jobs on the cluster.
|
BatchAICluster.Update |
withManualScale(int targetNodeCount)
Specifies that cluster should be scaled by manual settings.
|
BatchAICluster.Update |
withManualScale(int targetNodeCount,
DeallocationOption deallocationOption)
Specifies that cluster should be scaled by manual settings.
|
BatchAICluster.Update withAutoScale(int minimumNodeCount, int maximumNodeCount)
minimumNodeCount
- the minimum number of compute nodes the cluster can havemaximumNodeCount
- the maximum number of compute nodes the cluster can haveBatchAICluster.Update withAutoScale(int minimumNodeCount, int maximumNodeCount, int initialNodeCount)
minimumNodeCount
- the minimum number of compute nodes the cluster can havemaximumNodeCount
- the maximum number of compute nodes the cluster can haveinitialNodeCount
- the number of compute nodes to allocate on cluster creation.
Note that this value is used only during cluster creation.BatchAICluster.Update withManualScale(int targetNodeCount)
targetNodeCount
- the desired number of compute nodes in the ClusterBatchAICluster.Update withManualScale(int targetNodeCount, DeallocationOption deallocationOption)
targetNodeCount
- the desired number of compute nodes in the ClusterdeallocationOption
- determines what to do with the job(s) running on compute node if the cluster size is decreasing. The default value is requeue.Copyright © 2019. All rights reserved.