Skip to content

Commit a9c4cad

Browse files
committed
add toleration and node selector
1 parent 1d8f13c commit a9c4cad

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

salt/metalk8s/addons/ui-operator/deployed/manifests.sls

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ Deploy UI Operator:
2727
labels:
2828
app.kubernetes.io/name: ui-operator
2929
spec:
30+
tolerations:
31+
- key: "node-role.kubernetes.io/bootstrap"
32+
operator: "Exists"
33+
effect: "NoSchedule"
34+
- key: "node-role.kubernetes.io/infra"
35+
operator: "Exists"
36+
effect: "NoSchedule"
37+
nodeSelector:
38+
kubernetes.io/os: linux
39+
node-role.kubernetes.io/infra: ''
3040
serviceAccountName: ui-operator
3141
containers:
3242
- name: ui-operator

0 commit comments

Comments
 (0)