fix: add toleations and affinity for c1-nodes

This commit is contained in:
2024-02-20 14:15:09 +01:00
parent 7acbc5d8ad
commit 793d66b2a4
2 changed files with 19 additions and 1 deletions
+9
View File
@@ -19,3 +19,12 @@ tolerations:
operator: Equal
value: data
effect: NoSchedule
affinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: topology.kubernetes.io/group
operator: In
values:
- c1
+10 -1
View File
@@ -21,5 +21,14 @@ nodeSelector:
tolerations:
- key: workload
operator: Equal
value: data
value: compute
effect: NoSchedule
affinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: topology.kubernetes.io/group
operator: In
values:
- c1