From 7114fd1c0013fc5365547003301b6df8a7920d0d Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:37:00 +0200 Subject: [PATCH] Use dedicated node pool for tests runners (#79) https://github.com/codex-storage/infra-codex/issues/88 --- docker/continuous-tests-job.yaml | 4 ++-- docker/dist-tests-job.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docker/continuous-tests-job.yaml b/docker/continuous-tests-job.yaml index 79c914b3..c669ec04 100644 --- a/docker/continuous-tests-job.yaml +++ b/docker/continuous-tests-job.yaml @@ -18,14 +18,14 @@ spec: spec: priorityClassName: system-node-critical nodeSelector: - doks.digitalocean.com/node-pool: "fixed-s-4vcpu-16gb-amd" + workload-type: "tests-runners" containers: - name: ${NAMEPREFIX}-runner image: codexstorage/cs-codex-dist-tests:latest imagePullPolicy: Always resources: requests: - memory: "2Gi" + memory: "1Gi" env: - name: KUBECONFIG value: "/opt/kubeconfig.yaml" diff --git a/docker/dist-tests-job.yaml b/docker/dist-tests-job.yaml index 7c92375c..2eaed221 100644 --- a/docker/dist-tests-job.yaml +++ b/docker/dist-tests-job.yaml @@ -16,10 +16,16 @@ spec: name: ${NAMEPREFIX}-${RUNID} run-id: ${RUNID} spec: + priorityClassName: system-node-critical + nodeSelector: + workload-type: "tests-runners" containers: - name: ${NAMEPREFIX}-runner image: codexstorage/cs-codex-dist-tests:latest imagePullPolicy: Always + resources: + requests: + memory: "1Gi" env: - name: KUBECONFIG value: "/opt/kubeconfig.yaml"