From 63745ab39a4618d87931fa7378dc013fbdb76232 Mon Sep 17 00:00:00 2001 From: Jashandeep Sohi <95394050+jashan-lco@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:41:30 -0700 Subject: [PATCH 1/2] use dedicated e2e nodes --- banzai/tests/e2e-k8s.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/banzai/tests/e2e-k8s.yaml b/banzai/tests/e2e-k8s.yaml index 9fcfa266..aa1aeb69 100644 --- a/banzai/tests/e2e-k8s.yaml +++ b/banzai/tests/e2e-k8s.yaml @@ -6,6 +6,20 @@ metadata: labels: app.kubernetes.io/name: banzai spec: + tolerations: + - name: karpenter.lco.earth/provisioner-name + operator: Equal + value: banzai-e2e + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: karpenter.lco.earth/provisioner-name + operator: In + values: + - banzai-e2e + # Create some empty directories to be mounted within the Pod volumes: - name: banzai-data From e57ef3308e78f8d1245ec107bdf1280a545f6744 Mon Sep 17 00:00:00 2001 From: Jashandeep Sohi <95394050+jashan-lco@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:25:42 -0700 Subject: [PATCH 2/2] Update e2e-k8s.yaml --- banzai/tests/e2e-k8s.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banzai/tests/e2e-k8s.yaml b/banzai/tests/e2e-k8s.yaml index aa1aeb69..b1584505 100644 --- a/banzai/tests/e2e-k8s.yaml +++ b/banzai/tests/e2e-k8s.yaml @@ -7,7 +7,7 @@ metadata: app.kubernetes.io/name: banzai spec: tolerations: - - name: karpenter.lco.earth/provisioner-name + - key: karpenter.lco.earth/provisioner-name operator: Equal value: banzai-e2e affinity: