Skip to content

Commit fa3a5eb

Browse files
Machines configurable (#2069)
* Configurable machine types and display names * wip * wip * wip * wip * wip * wip * wip * wip
1 parent 2d8dcfa commit fa3a5eb

File tree

9 files changed

+803
-670
lines changed

9 files changed

+803
-670
lines changed

cmd/broker/testdata/plans.yaml

Lines changed: 102 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
sap-converged-cloud:
2+
regularMachines:
3+
- "g_c2_m8"
4+
- "g_c4_m16"
5+
- "g_c6_m24"
6+
- "g_c8_m32"
7+
- "g_c12_m48"
8+
- "g_c16_m64"
9+
- "g_c32_m128"
10+
- "g_c64_m256"
11+
additionalMachines:
212
regions:
313
cf-eu20: ["eu-de-1"]
414
cf-ap10: ["ap-au-1"]
@@ -13,6 +23,28 @@ sap-converged-cloud:
1323
- ap-ae-1
1424

1525
gcp,build-runtime-gcp:
26+
regularMachines:
27+
- "n2-standard-2"
28+
- "n2-standard-4"
29+
- "n2-standard-8"
30+
- "n2-standard-16"
31+
- "n2-standard-32"
32+
- "n2-standard-48"
33+
- "n2-standard-64"
34+
additionalMachines:
35+
- "c2d-highcpu-2"
36+
- "c2d-highcpu-4"
37+
- "c2d-highcpu-8"
38+
- "c2d-highcpu-16"
39+
- "c2d-highcpu-32"
40+
- "c2d-highcpu-56"
41+
- "g2-standard-4"
42+
- "g2-standard-8"
43+
- "g2-standard-12"
44+
- "g2-standard-16"
45+
- "g2-standard-24"
46+
- "g2-standard-32"
47+
- "g2-standard-48"
1648
regions:
1749
cf-sa30:
1850
- "me-central2"
@@ -33,11 +65,79 @@ gcp,build-runtime-gcp:
3365

3466

3567
preview,aws,build-runtime-aws:
68+
regularMachines:
69+
- "m6i.large"
70+
- "m6i.xlarge"
71+
- "m6i.2xlarge"
72+
- "m6i.4xlarge"
73+
- "m6i.8xlarge"
74+
- "m6i.12xlarge"
75+
- "m6i.16xlarge"
76+
- "m5.large"
77+
- "m5.xlarge"
78+
- "m5.2xlarge"
79+
- "m5.4xlarge"
80+
- "m5.8xlarge"
81+
- "m5.12xlarge"
82+
- "m5.16xlarge"
83+
additionalMachines:
84+
- "c7i.large"
85+
- "c7i.xlarge"
86+
- "c7i.2xlarge"
87+
- "c7i.4xlarge"
88+
- "c7i.8xlarge"
89+
- "c7i.12xlarge"
90+
- "c7i.16xlarge"
91+
- "g6.xlarge"
92+
- "g6.2xlarge"
93+
- "g6.4xlarge"
94+
- "g6.8xlarge"
95+
- "g6.12xlarge"
96+
- "g6.16xlarge"
97+
- "g4dn.xlarge"
98+
- "g4dn.2xlarge"
99+
- "g4dn.4xlarge"
100+
- "g4dn.8xlarge"
101+
- "g4dn.12xlarge"
102+
- "g4dn.16xlarge"
36103
regions:
37104
cf-eu11: [ "eu-central-1" ]
38105
default: [ "eu-central-1", "eu-west-2", "ca-central-1", "sa-east-1", "us-east-1", "us-west-2", "ap-northeast-1", "ap-northeast-2", "ap-south-1", "ap-southeast-1", "ap-southeast-2" ]
39106

40-
azure,build-runtime-azure,azure_lite:
41-
regions:
107+
azure,build-runtime-azure:
108+
regularMachines:
109+
- "Standard_D2s_v5"
110+
- "Standard_D4s_v5"
111+
- "Standard_D8s_v5"
112+
- "Standard_D16s_v5"
113+
- "Standard_D32s_v5"
114+
- "Standard_D48s_v5"
115+
- "Standard_D64s_v5"
116+
- "Standard_D4_v3"
117+
- "Standard_D8_v3"
118+
- "Standard_D16_v3"
119+
- "Standard_D32_v3"
120+
- "Standard_D48_v3"
121+
- "Standard_D64_v3"
122+
additionalMachines:
123+
- "Standard_F2s_v2"
124+
- "Standard_F4s_v2"
125+
- "Standard_F8s_v2"
126+
- "Standard_F16s_v2"
127+
- "Standard_F32s_v2"
128+
- "Standard_F48s_v2"
129+
- "Standard_F64s_v2"
130+
- "Standard_NC4as_T4_v3"
131+
- "Standard_NC8as_T4_v3"
132+
- "Standard_NC16as_T4_v3"
133+
- "Standard_NC64as_T4_v3"
134+
regions: &azure_regions
42135
cf-ch20: [ "switzerlandnorth" ]
43136
default: [ "eastus","centralus","westus2","uksouth","northeurope","westeurope","japaneast","southeastasia","australiaeast","brazilsouth","canadacentral" ]
137+
138+
azure_lite:
139+
regularMachines:
140+
- "Standard_D2s_v5"
141+
- "Standard_D4s_v5"
142+
- "Standard_D4_v3"
143+
regions: *azure_regions

cmd/broker/testdata/providers.yaml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11
aws:
2+
machines:
3+
"m6i.large": "m6i.large (2vCPU, 8GB RAM)"
4+
"m6i.xlarge": "m6i.xlarge (4vCPU, 16GB RAM)"
5+
"m6i.2xlarge": "m6i.2xlarge (8vCPU, 32GB RAM)"
6+
"m6i.4xlarge": "m6i.4xlarge (16vCPU, 64GB RAM)"
7+
"m6i.8xlarge": "m6i.8xlarge (32vCPU, 128GB RAM)"
8+
"m6i.12xlarge": "m6i.12xlarge (48vCPU, 192GB RAM)"
9+
"m6i.16xlarge": "m6i.16xlarge (64vCPU, 256GB RAM)"
10+
"m5.large": "m5.large (2vCPU, 8GB RAM)"
11+
"m5.xlarge": "m5.xlarge (4vCPU, 16GB RAM)"
12+
"m5.2xlarge": "m5.2xlarge (8vCPU, 32GB RAM)"
13+
"m5.4xlarge": "m5.4xlarge (16vCPU, 64GB RAM)"
14+
"m5.8xlarge": "m5.8xlarge (32vCPU, 128GB RAM)"
15+
"m5.12xlarge": "m5.12xlarge (48vCPU, 192GB RAM)"
16+
"m5.16xlarge": "m5.16xlarge (64vCPU, 256GB RAM)"
17+
"c7i.large": "c7i.large (2vCPU, 4GB RAM)"
18+
"c7i.xlarge": "c7i.xlarge (4vCPU, 8GB RAM)"
19+
"c7i.2xlarge": "c7i.2xlarge (8vCPU, 16GB RAM)"
20+
"c7i.4xlarge": "c7i.4xlarge (16vCPU, 32GB RAM)"
21+
"c7i.8xlarge": "c7i.8xlarge (32vCPU, 64GB RAM)"
22+
"c7i.12xlarge": "c7i.12xlarge (48vCPU, 96GB RAM)"
23+
"c7i.16xlarge": "c7i.16xlarge (64vCPU, 128GB RAM)"
24+
"g6.xlarge": "g6.xlarge (1GPU, 4vCPU, 16GB RAM)*"
25+
"g6.2xlarge": "g6.2xlarge (1GPU, 8vCPU, 32GB RAM)*"
26+
"g6.4xlarge": "g6.4xlarge (1GPU, 16vCPU, 64GB RAM)*"
27+
"g6.8xlarge": "g6.8xlarge (1GPU, 32vCPU, 128GB RAM)*"
28+
"g6.12xlarge": "g6.12xlarge (4GPU, 48vCPU, 192GB RAM)*"
29+
"g6.16xlarge": "g6.16xlarge (1GPU, 64vCPU, 256GB RAM)*"
30+
"g4dn.xlarge": "g4dn.xlarge (1GPU, 4vCPU, 16GB RAM)*"
31+
"g4dn.2xlarge": "g4dn.2xlarge (1GPU, 8vCPU, 32GB RAM)*"
32+
"g4dn.4xlarge": "g4dn.4xlarge (1GPU, 16vCPU, 64GB RAM)*"
33+
"g4dn.8xlarge": "g4dn.8xlarge (1GPU, 32vCPU, 128GB RAM)*"
34+
"g4dn.12xlarge": "g4dn.12xlarge (4GPU, 48vCPU, 192GB RAM)*"
35+
"g4dn.16xlarge": "g4dn.16xlarge (1GPU, 64vCPU, 256GB RAM)*"
236
regions:
337
eu-central-1:
438
displayName: "eu-central-1 (Europe, Frankfurt)"
@@ -34,6 +68,31 @@ aws:
3468
displayName: "ap-southeast-2 (Asia Pacific, Sydney)"
3569
zones: [ "a", "b", "c" ]
3670
azure:
71+
machines:
72+
"Standard_D2s_v5": "Standard_D2s_v5 (2vCPU, 8GB RAM)"
73+
"Standard_D4s_v5": "Standard_D4s_v5 (4vCPU, 16GB RAM)"
74+
"Standard_D8s_v5": "Standard_D8s_v5 (8vCPU, 32GB RAM)"
75+
"Standard_D16s_v5": "Standard_D16s_v5 (16vCPU, 64GB RAM)"
76+
"Standard_D32s_v5": "Standard_D32s_v5 (32vCPU, 128GB RAM)"
77+
"Standard_D48s_v5": "Standard_D48s_v5 (48vCPU, 192GB RAM)"
78+
"Standard_D64s_v5": "Standard_D64s_v5 (64vCPU, 256GB RAM)"
79+
"Standard_D4_v3": "Standard_D4_v3 (4vCPU, 16GB RAM)"
80+
"Standard_D8_v3": "Standard_D8_v3 (8vCPU, 32GB RAM)"
81+
"Standard_D16_v3": "Standard_D16_v3 (16vCPU, 64GB RAM)"
82+
"Standard_D32_v3": "Standard_D32_v3 (32vCPU, 128GB RAM)"
83+
"Standard_D48_v3": "Standard_D48_v3 (48vCPU, 192GB RAM)"
84+
"Standard_D64_v3": "Standard_D64_v3 (64vCPU, 256GB RAM)"
85+
"Standard_F2s_v2": "Standard_F2s_v2 (2vCPU, 4GB RAM)"
86+
"Standard_F4s_v2": "Standard_F4s_v2 (4vCPU, 8GB RAM)"
87+
"Standard_F8s_v2": "Standard_F8s_v2 (8vCPU, 16GB RAM)"
88+
"Standard_F16s_v2": "Standard_F16s_v2 (16vCPU, 32GB RAM)"
89+
"Standard_F32s_v2": "Standard_F32s_v2 (32vCPU, 64GB RAM)"
90+
"Standard_F48s_v2": "Standard_F48s_v2 (48vCPU, 96GB RAM)"
91+
"Standard_F64s_v2": "Standard_F64s_v2 (64vCPU, 128GB RAM)"
92+
"Standard_NC4as_T4_v3": "Standard_NC4as_T4_v3 (1GPU, 4vCPU, 28GB RAM)*"
93+
"Standard_NC8as_T4_v3": "Standard_NC8as_T4_v3 (1GPU, 8vCPU, 56GB RAM)*"
94+
"Standard_NC16as_T4_v3": "Standard_NC16as_T4_v3 (1GPU, 16vCPU, 110GB RAM)*"
95+
"Standard_NC64as_T4_v3": "Standard_NC64as_T4_v3 (4GPU, 64vCPU, 440GB RAM)*"
3796
regions:
3897
eastus:
3998
displayName: "eastus (US East, VA)"
@@ -72,6 +131,28 @@ azure:
72131
displayName: "switzerlandnorth (Switzerland, Zurich)"
73132
zones: [ "1", "2", "3" ]
74133
gcp:
134+
machines:
135+
"n2-standard-2": "n2-standard-2 (2vCPU, 8GB RAM)"
136+
"n2-standard-4": "n2-standard-4 (4vCPU, 16GB RAM)"
137+
"n2-standard-8": "n2-standard-8 (8vCPU, 32GB RAM)"
138+
"n2-standard-16": "n2-standard-16 (16vCPU, 64GB RAM)"
139+
"n2-standard-32": "n2-standard-32 (32vCPU, 128GB RAM)"
140+
"n2-standard-48": "n2-standard-48 (48vCPU, 192GB RAM)"
141+
"n2-standard-64": "n2-standard-64 (64vCPU, 256GB RAM)"
142+
"c2d-highcpu-2": "c2d-highcpu-2 (2vCPU, 4GB RAM)"
143+
"c2d-highcpu-4": "c2d-highcpu-4 (4vCPU, 8GB RAM)"
144+
"c2d-highcpu-8": "c2d-highcpu-8 (8vCPU, 16GB RAM)"
145+
"c2d-highcpu-16": "c2d-highcpu-16 (16vCPU, 32GB RAM)"
146+
"c2d-highcpu-32": "c2d-highcpu-32 (32vCPU, 64GB RAM)"
147+
"c2d-highcpu-56": "c2d-highcpu-56 (56vCPU, 112GB RAM)"
148+
"g2-standard-4": "g2-standard-4 (1GPU, 4vCPU, 16GB RAM)*"
149+
"g2-standard-8": "g2-standard-8 (1GPU, 8vCPU, 32GB RAM)*"
150+
"g2-standard-12": "g2-standard-12 (1GPU, 12vCPU, 48GB RAM)*"
151+
"g2-standard-16": "g2-standard-16 (1GPU, 16vCPU, 64GB RAM)*"
152+
"g2-standard-24": "g2-standard-24 (2GPU, 24vCPU, 96GB RAM)*"
153+
"g2-standard-32": "g2-standard-32 (1GPU, 32vCPU, 128GB RAM)*"
154+
"g2-standard-48": "g2-standard-48 (4GPU, 48vCPU, 192GB RAM)*"
155+
75156
regions:
76157
europe-west3:
77158
displayName: "europe-west3 (Europe, Frankfurt)"
@@ -114,6 +195,15 @@ gcp:
114195
displayName: "europe-west4 (Europe, Netherlands)"
115196
zones: [ "a", "b", "c" ]
116197
sap-converged-cloud:
198+
machines:
199+
"g_c2_m8": "g_c2_m8 (2vCPU, 8GB RAM)"
200+
"g_c4_m16": "g_c4_m16 (4vCPU, 16GB RAM)"
201+
"g_c6_m24": "g_c6_m24 (6vCPU, 24GB RAM)"
202+
"g_c8_m32": "g_c8_m32 (8vCPU, 32GB RAM)"
203+
"g_c12_m48": "g_c12_m48 (12vCPU, 48GB RAM)"
204+
"g_c16_m64": "g_c16_m64 (16vCPU, 64GB RAM)"
205+
"g_c32_m128": "g_c32_m128 (32vCPU, 128GB RAM)"
206+
"g_c64_m256": "g_c64_m256 (64vCPU, 256GB RAM)"
117207
regions:
118208
eu-de-1:
119209
displayName: "eu-de-1"

0 commit comments

Comments
 (0)