From 21a4067886e541a0511fe3234753c1791ecc2893 Mon Sep 17 00:00:00 2001 From: ypoplavs Date: Thu, 7 Sep 2023 16:53:55 +0300 Subject: [PATCH 1/2] add node selector for develop and stage envs --- charts/testkube/values-develop.yaml | 20 +++++++++++++++++++- charts/testkube/values-stage.yaml | 18 +++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/charts/testkube/values-develop.yaml b/charts/testkube/values-develop.yaml index 092fcff9a..243ab9289 100644 --- a/charts/testkube/values-develop.yaml +++ b/charts/testkube/values-develop.yaml @@ -100,6 +100,8 @@ mongodb: requests: memory: "1500Mi" cpu: "200m" + nodeSelector: + nodepool: main-mongo nats: # NATS container settings @@ -107,6 +109,12 @@ nats: limits: # -- Max payload maxPayload: 8MB + nodeSelector: + nodepool: main + natsbox: + nodeSelector: + nodepool: main + testkube-api: prometheus: @@ -124,7 +132,8 @@ testkube-api: port: 8088 minio: enabled: true - nodeSelector: {} + nodeSelector: + nodepool: main tolerations: [] affinity: {} image: @@ -276,6 +285,9 @@ testkube-api: testConnection: enabled: true + nodeSelector: + nodepool: main + testkube-dashboard: enabled: true nameOverride: "dashboard" @@ -345,6 +357,9 @@ testkube-dashboard: memory: "100Mi" cpu: "100m" + nodeSelector: + nodepool: main + testkube-operator: ##Proxy Image parameters ## image.registry Proxy image registry @@ -368,3 +383,6 @@ testkube-operator: testConnection: enabled: true + nodeSelector: + nodepool: main + diff --git a/charts/testkube/values-stage.yaml b/charts/testkube/values-stage.yaml index 77436620b..649c7f348 100644 --- a/charts/testkube/values-stage.yaml +++ b/charts/testkube/values-stage.yaml @@ -100,6 +100,8 @@ mongodb: requests: memory: "1500Mi" cpu: "200m" + nodeSelector: + nodepool: main-mongo nats: # NATS container settings @@ -107,6 +109,11 @@ nats: limits: # -- Max payload maxPayload: 8MB + nodeSelector: + nodepool: main + natsbox: + nodeSelector: + nodepool: main testkube-api: prometheus: @@ -124,7 +131,6 @@ testkube-api: port: 8088 minio: enabled: true - nodeSelector: {} tolerations: [] affinity: {} image: @@ -135,6 +141,8 @@ testkube-api: requests: memory: "1000Mi" cpu: "200m" + nodeSelector: + nodepool: main uiIngress: enabled: true @@ -279,6 +287,9 @@ testkube-api: testConnection: enabled: true + nodeSelector: + nodepool: main + testkube-dashboard: enabled: true nameOverride: "dashboard" @@ -345,6 +356,8 @@ testkube-dashboard: requests: memory: "100Mi" cpu: "100m" + nodeSelector: + nodepool: main testkube-operator: ##Proxy Image parameters @@ -368,3 +381,6 @@ testkube-operator: ##Test Connection pod testConnection: enabled: true + + nodeSelector: + nodepool: main From 639a4743f9b5723b9816be9a9470b7211c43af6c Mon Sep 17 00:00:00 2001 From: ypoplavs Date: Fri, 8 Sep 2023 11:25:45 +0300 Subject: [PATCH 2/2] add node labels --- charts/testkube/values-demo.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/charts/testkube/values-demo.yaml b/charts/testkube/values-demo.yaml index 2f5ee2fd1..12f035854 100644 --- a/charts/testkube/values-demo.yaml +++ b/charts/testkube/values-demo.yaml @@ -95,6 +95,8 @@ mongodb: requests: memory: "1500Mi" cpu: "200m" + nodeSelector: + nodepool: main-mongo nats: # NATS container settings @@ -102,6 +104,12 @@ nats: limits: # -- Max payload maxPayload: 8MB + nodeSelector: + nodepool: main + natsbox: + nodeSelector: + nodepool: main + testkube-api: rbac: @@ -332,6 +340,9 @@ testkube-api: testConnection: enabled: true + nodeSelector: + nodepool: main + testkube-dashboard: enabled: true nameOverride: "dashboard" @@ -400,6 +411,9 @@ testkube-dashboard: memory: "100Mi" cpu: "100m" + nodeSelector: + nodepool: main + testkube-operator: # should roles and roles bindings be created rbac: @@ -431,3 +445,7 @@ testkube-operator: ##Test Connection pod testConnection: enabled: true + + nodeSelector: + nodepool: main +