SpotPriorityProfile interface
Configuration Options for Spot instances in Compute Fleet.
Properties
allocation |
Allocation strategy to follow when determining the VM sizes distribution for Spot VMs. |
capacity | Total capacity to achieve. It is currently in terms of number of VMs. |
eviction |
Eviction Policy to follow when evicting Spot VMs. |
maintain | Flag to enable/disable continuous goal seeking for the desired capacity and restoration of evicted Spot VMs. If maintain is enabled, AzureFleetRP will use all VM sizes in vmSizesProfile to create new VMs (if VMs are evicted deleted) or update existing VMs with new VM sizes (if VMs are evicted deallocated or failed to allocate due to capacity constraint) in order to achieve the desired capacity. Maintain is enabled by default. |
max |
Price per hour of each Spot VM will never exceed this. |
min |
Minimum capacity to achieve which cannot be updated. If we will not be able to "guarantee" minimum capacity, we will reject the request in the sync path itself. |
Property Details
allocationStrategy
Allocation strategy to follow when determining the VM sizes distribution for Spot VMs.
allocationStrategy?: string
Property Value
string
capacity
Total capacity to achieve. It is currently in terms of number of VMs.
capacity?: number
Property Value
number
evictionPolicy
Eviction Policy to follow when evicting Spot VMs.
evictionPolicy?: string
Property Value
string
maintain
Flag to enable/disable continuous goal seeking for the desired capacity and restoration of evicted Spot VMs. If maintain is enabled, AzureFleetRP will use all VM sizes in vmSizesProfile to create new VMs (if VMs are evicted deleted) or update existing VMs with new VM sizes (if VMs are evicted deallocated or failed to allocate due to capacity constraint) in order to achieve the desired capacity. Maintain is enabled by default.
maintain?: boolean
Property Value
boolean
maxPricePerVM
Price per hour of each Spot VM will never exceed this.
maxPricePerVM?: number
Property Value
number
minCapacity
Minimum capacity to achieve which cannot be updated. If we will not be able to "guarantee" minimum capacity, we will reject the request in the sync path itself.
minCapacity?: number
Property Value
number