Use dedicated node pool for tests runners (#79)

https://github.com/codex-storage/infra-codex/issues/88
This commit is contained in:
Slava 2023-11-13 22:37:00 +02:00 committed by GitHub
parent 2565ced7fe
commit 7114fd1c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -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"

View File

@ -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"