From db09cf32439cc5a8ea430b9b78fc2a2d1ccb6e7f Mon Sep 17 00:00:00 2001 From: MichaelClifford Date: Wed, 21 Jun 2023 16:24:18 -0400 Subject: [PATCH] update base template with priorities --- src/codeflare_sdk/templates/base-template.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/codeflare_sdk/templates/base-template.yaml b/src/codeflare_sdk/templates/base-template.yaml index c99fd105d..3075f75b9 100644 --- a/src/codeflare_sdk/templates/base-template.yaml +++ b/src/codeflare_sdk/templates/base-template.yaml @@ -8,6 +8,8 @@ metadata: orderedinstance: "m4.xlarge_g4dn.xlarge" spec: priority: 9 + schedulingSpec: + minAvailable: 3 resources: Items: [] GenericItems: @@ -112,6 +114,7 @@ spec: operator: In values: - "aw-kuberay" + priorityClassName: "low-priority" containers: # The Ray head pod - env: @@ -182,6 +185,7 @@ spec: operator: In values: - "aw-kuberay" + priorityClassName: "low-priority" initContainers: # the env var $RAY_IP is set by the operator if missing, with the value of the head service name - name: init-myservice