refactor: tolerations

This commit is contained in:
auricom
2021-07-30 09:43:09 +02:00
parent 0b9fedd63b
commit c920236777
7 changed files with 15 additions and 26 deletions

View File

@@ -53,7 +53,7 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "node-role.kubernetes.io/master"
- key: "node-role.kubernetes.io/control-plane"
operator: In
values:
- "true"
@@ -61,13 +61,9 @@ spec:
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
- key: "node-role.kubernetes.io/master"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
containers:
- name: system-upgrade-controller
image: rancher/system-upgrade-controller:v0.7.3