Explorar o código

Added AWS r7g and MSA D8s_v5 instance types. (#4535)

Rudi MK %!s(int64=2) %!d(string=hai) anos
pai
achega
cacd76f330

+ 55 - 0
dashboard/src/lib/clusters/constants.ts

@@ -409,6 +409,38 @@ const SUPPORTED_AWS_MACHINE_TYPES: ClientMachineType[] = [
     cpuCores: 128,
     ramMegabytes: 1048576,
   },
+  {
+    name: "r7g.medium",
+    displayName: "r7g.medium",
+    supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
+    isGPU: false,
+    cpuCores: 1,
+    ramMegabytes: 8192,
+  },
+  {
+    name: "r7g.large",
+    displayName: "r7g.large",
+    supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
+    isGPU: false,
+    cpuCores: 2,
+    ramMegabytes: 16384,
+  },
+  {
+    name: "r7g.xlarge",
+    displayName: "r7g.xlarge",
+    supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
+    isGPU: false,
+    cpuCores: 4,
+    ramMegabytes: 32768,
+  },
+  {
+    name: "r7g.2xlarge",
+    displayName: "r7g.2xlarge",
+    supportedRegions: SUPPORTED_AWS_REGIONS.map((r) => r.name),
+    isGPU: false,
+    cpuCores: 8,
+    ramMegabytes: 65536,
+  },
   {
     name: "m5n.large",
     displayName: "m5n.large",
@@ -1412,6 +1444,29 @@ const SUPPORTED_AZURE_MACHINE_TYPES: ClientMachineType[] = [
     cpuCores: 8,
     ramMegabytes: 32768,
   },
+  {
+    name: "Standard_D8s_v5",
+    displayName: "Standard_D8s_v5",
+    supportedRegions: [
+      "australiaeast",
+      "canadacentral",
+      "centralindia",
+      "eastasia",
+      "eastus",
+      "eastus2",
+      "francecentral",
+      "northeurope",
+      "norwayeast",
+      "southafricanorth",
+      "swedencentral",
+      "switzerlandnorth",
+      "uaenorth",
+      "uksouth",
+    ],
+    isGPU: false,
+    cpuCores: 8,
+    ramMegabytes: 32768,
+  },
 ];
 const SUPPORTED_AZURE_SKU_TIERS = [
   {

+ 5 - 0
dashboard/src/lib/clusters/types.ts

@@ -152,6 +152,10 @@ const awsMachineTypeValidator = z.enum([
   "r7a.16xlarge",
   "r7a.24xlarge",
   "r7a.32xlarge",
+  "r7g.medium",
+  "r7g.large",
+  "r7g.xlarge",
+  "r7g.2xlarge",
   "m5n.large",
   "m5n.xlarge",
   "m5n.2xlarge",
@@ -254,6 +258,7 @@ const azureMachineTypeValidator = z.enum([
   "Standard_NC16as_T4_v3",
   "Standard_NC64as_T4_v3",
   "Standard_D8s_v3",
+  "Standard_D8s_v5",
 ]);
 type AzureMachineType = z.infer<typeof azureMachineTypeValidator>;
 type AzureSKUTier = {