fix: add toleations and affinity for c1-nodes
This commit is contained in:
@@ -19,3 +19,12 @@ tolerations:
|
|||||||
operator: Equal
|
operator: Equal
|
||||||
value: data
|
value: data
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: topology.kubernetes.io/group
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- c1
|
||||||
|
|||||||
@@ -21,5 +21,14 @@ nodeSelector:
|
|||||||
tolerations:
|
tolerations:
|
||||||
- key: workload
|
- key: workload
|
||||||
operator: Equal
|
operator: Equal
|
||||||
value: data
|
value: compute
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: topology.kubernetes.io/group
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- c1
|
||||||
|
|||||||
Reference in New Issue
Block a user