From 3dcad157eef295b75bbb529c92d56b3885e673b6 Mon Sep 17 00:00:00 2001 From: Rudi Schlatte Date: Tue, 20 Feb 2024 13:59:03 +0100 Subject: [PATCH] Update controller node requirements This node will run the kubernetes controller and various Nebulous infrastructure components, among them the solver, so it should not be too small. Change-Id: I47d7a28a1ba18e665c2893fa6992fc11299c5fd5 --- .../optimiser/controller/NebulousAppDeployer.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/optimiser-controller/src/main/java/eu/nebulouscloud/optimiser/controller/NebulousAppDeployer.java b/optimiser-controller/src/main/java/eu/nebulouscloud/optimiser/controller/NebulousAppDeployer.java index f0c9764..0d02e7f 100644 --- a/optimiser-controller/src/main/java/eu/nebulouscloud/optimiser/controller/NebulousAppDeployer.java +++ b/optimiser-controller/src/main/java/eu/nebulouscloud/optimiser/controller/NebulousAppDeployer.java @@ -61,8 +61,9 @@ public class NebulousAppDeployer { private static CommandsInstallation nodeInstallation = new CommandsInstallation(); /** - * The requirements of the node running the NebulOuS controller. This - * machine runs the Kubernetes cluster and KubeVela. + * The requirements of the node running the NebulOuS controller. + * This machine runs the Kubernetes cluster and KubeVela. For + * now, we ask for 8GB memory and 4 cores. */ public static List getControllerRequirements(String jobID) { return List.of( @@ -74,8 +75,8 @@ public class NebulousAppDeployer { // https://github.com/ow2-proactive/scheduling-abstraction-layer/blob/master/sal-service/src/main/java/org/ow2/proactive/sal/service/nc/NodeCandidateUtils.java#L159 new AttributeRequirement("image", "operatingSystem.family", RequirementOperator.IN, OperatingSystemFamily.UBUNTU.toString()), - new AttributeRequirement("hardware", "memory", RequirementOperator.GEQ, "2048"), - new AttributeRequirement("hardware", "cpu", RequirementOperator.GEQ, "2")); + new AttributeRequirement("hardware", "memory", RequirementOperator.GEQ, "4096"), + new AttributeRequirement("hardware", "cpu", RequirementOperator.GEQ, "4")); } /**