From 33372de4d74ec36b8e92c3b9edfa80ef4ab809ef Mon Sep 17 00:00:00 2001 From: blair drummond Date: Fri, 12 Feb 2021 08:12:51 -0500 Subject: [PATCH] fix: lower gpu node cpu-request to allow scheduling --- frontend/src/app/resource-form/resource-form.component.ts | 2 +- frontend/src/assets/i18n/en.json | 2 +- frontend/src/assets/i18n/fr.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/resource-form/resource-form.component.ts b/frontend/src/app/resource-form/resource-form.component.ts index 64e7cf39..cefa252f 100644 --- a/frontend/src/app/resource-form/resource-form.component.ts +++ b/frontend/src/app/resource-form/resource-form.component.ts @@ -112,7 +112,7 @@ export class ResourceFormComponent implements OnInit, OnDestroy { this.readonlySpecs = false; } else { this.readonlySpecs = true; - this.formCtrl.get("cpu").setValue("5"); + this.formCtrl.get("cpu").setValue("4"); this.formCtrl.get("memory").setValue("96Gi"); } } diff --git a/frontend/src/assets/i18n/en.json b/frontend/src/assets/i18n/en.json index 1a4986ff..c716ddae 100644 --- a/frontend/src/assets/i18n/en.json +++ b/frontend/src/assets/i18n/en.json @@ -72,7 +72,7 @@ "optNone": "None", "lblGpuVendor": "GPU Vendor", "errorGpuVendorRequired": "You must also specify the GPU Vendor for the assigned GPUs", - "specsWarningMessage": "Selecting 1 GPU will automatically set 5 CPUs and 96Gi of memory." + "specsWarningMessage": "Selecting 1 GPU will automatically set 4 CPUs and 96Gi of memory." }, "formImage": { "h3Image": "Image", diff --git a/frontend/src/assets/i18n/fr.json b/frontend/src/assets/i18n/fr.json index 516247a1..607c994d 100644 --- a/frontend/src/assets/i18n/fr.json +++ b/frontend/src/assets/i18n/fr.json @@ -72,7 +72,7 @@ "optNone": "Aucun", "lblGpuVendor": "Vendeur de GPU", "errorGpuVendorRequired": "Vous devez spécifier le vendeur des GPUs assignés", - "specsWarningMessage": "La sélection de 1 GPU définira automatiquement 5 processeurs et 96Gi de la mémoire." + "specsWarningMessage": "La sélection de 1 GPU définira automatiquement 4 processeurs et 96Gi de la mémoire." }, "formImage": {