-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add scaleDownMode to agent pool properties #15124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2371,6 +2371,11 @@ | |
| "type": "boolean", | ||
| "description": "Whether to enable auto-scaler" | ||
| }, | ||
| "scaleDownMode": { | ||
| "$ref": "#/definitions/ScaleDownMode", | ||
| "title": "The scale down mode to use when scaling the Agent Pool.", | ||
| "description": "This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete." | ||
| }, | ||
| "type": { | ||
| "$ref": "#/definitions/AgentPoolType" | ||
| }, | ||
|
|
@@ -4183,6 +4188,31 @@ | |
| "title": "The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.", | ||
| "description": "Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see [spot VMs pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)" | ||
| }, | ||
| "ScaleDownMode": { | ||
marwanad marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "type": "string", | ||
| "enum": [ | ||
| "Delete", | ||
| "Deallocate" | ||
| ], | ||
| "externalDocs": { | ||
| "url": "https://docs.microsoft.com/azure/virtual-machines/states-billing" | ||
|
||
| }, | ||
| "x-ms-enum": { | ||
| "name": "ScaleDownMode", | ||
| "modelAsString": true, | ||
| "values": [ | ||
| { | ||
| "value": "Delete", | ||
| "description": "Create new instances during scale up and remove instances during scale down." | ||
| }, | ||
| { | ||
| "value": "Deallocate", | ||
| "description": "Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down." | ||
| } | ||
| ] | ||
| }, | ||
| "description": "Describes how VMs are added to or removed from Agent Pools" | ||
| }, | ||
| "ProximityPlacementGroupID": { | ||
| "type": "string", | ||
| "description": "The ID for Proximity Placement Group." | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.