From 34d137b2ba3f9fd431d35dbb8d3dbcea7c6f7487 Mon Sep 17 00:00:00 2001 From: JamesMurkin Date: Thu, 22 Jun 2023 10:32:43 +0100 Subject: [PATCH] [scheduler] Update indexedResources config The format of this config has changed, so now the scheduler fails to start up with the default config. Updating the config to match the expected format --- config/scheduler/config.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/scheduler/config.yaml b/config/scheduler/config.yaml index 885dd91c19d..c05b6e1ebf4 100644 --- a/config/scheduler/config.yaml +++ b/config/scheduler/config.yaml @@ -104,8 +104,10 @@ scheduling: resourceScarcity: cpu: 1.0 indexedResources: - - cpu - - memory + - name: "cpu" + resolution: "100m" + - name: "memory" + resolution: "1Mi" gangIdAnnotation: armadaproject.io/gangId gangCardinalityAnnotation: armadaproject.io/gangCardinality