Skip to content
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

Azure Elastigroup spot size attributes #580

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ properties:
example: standard_b1s
spotSizes:
title: Spot Sizes
description: "Available Spot-VM sizes. Find the list in Azure https://docs.microsoft.com/en-us/azure/virtual-machines/spot-vms?toc=/azure/virtual-machines/linux/toc.json&bc=/azure/virtual-machines/linux/breadcrumb/toc.json"
description: "Available Spot VM sizes. Find the list in Azure https://docs.microsoft.com/en-us/azure/virtual-machines/spot-vms?toc=/azure/virtual-machines/linux/toc.json&bc=/azure/virtual-machines/linux/breadcrumb/toc.json"
type: array
items:
type: string
Expand All @@ -606,6 +606,15 @@ properties:
items:
type: string
example: "standard_a2_v2"
spotSizeAttributes:
$ref: "../schemas/elastigroupVm-spotSizeAttributes.yaml"
excludedVmSizes:
type: array
description: |
Spot VM sizes to exclude when using the attribute-based VM sizes selection option.
example: [ "standard_a2_v2", "standard_d2s_v3" ]
items:
type: string
os:
type: string
example: Linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ properties:
spotSizes:
type: array
description: |
Available Spot-VM sizes.
Available Spot VM sizes.
items:
type: string
example: "standard_a2_v2"
Expand All @@ -30,6 +30,15 @@ properties:
items:
type: string
example: "standard_a2_v2"
spotSizeAttributes:
$ref: "../schemas/elastigroupVm-spotSizeAttributes.yaml"
excludedVmSizes:
type: array
description: |
Spot VM sizes to exclude when using the attribute-based VM sizes selection option.
example: [ "standard_a2_v2", "standard_d2s_v3" ]
items:
type: string
launchSpecification:
type: object
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ properties:
spotSizes:
type: array
description: |
Available Spot-VM sizes.
Available Spot VM sizes.
items:
type: string
example: "standard_a2_v2"
Expand All @@ -34,6 +34,15 @@ properties:
items:
type: string
example: "standard_a2_v2"
spotSizeAttributes:
$ref: "../schemas/elastigroupVm-spotSizeAttributes.yaml"
excludedVmSizes:
type: array
description: |
Spot VM sizes to exclude when using the attribute-based VM sizes selection option.
example: [ "standard_a2_v2", "standard_d2s_v3" ]
items:
type: string
os:
type: string
example: Linux
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
type: object
title: Elastigroup spot size attributes
description: |
Required instance attributes. Instance types will be selected based on these requirements.
properties:
minCpu:
type: integer
description: |
Minimum instance CPU units.
example: 2
maxCpu:
type: integer
description: |
Maximum instance CPU units.
example: 8
minStorage:
type: integer
description: |
Minimum instance storage (GiB).
example: 5
maxStorage:
type: integer
description: |
Maximum instance storage (GiB).
example: 50
minMemory:
type: integer
description: |
Minimum instance memory (GiB).
example: 2
maxMemory:
type: integer
description: |
Maximum instance memory (GiB).
example: 2
cpuArchitecture:
type: string
description: |
Required CPU architecture.
enum:
- X64
- ARM64
example: X64
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ properties:
spotSizes:
type: array
description: |
Defines the spot-VM sizes to use when launching VMs.
Defines the Spot VM sizes to use when launching VMs.
items:
type: string
example: "standard_a2_v2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ properties:
spotSizes:
type: array
description: |
Available Spot-VM sizes.
Available Spot VM sizes.
items:
type: string
example: "standard_a2_v2"
Expand Down
Loading