weave: support any taint effect in daemonset tolerations (#6159)
Since weave 2.5.1, `NoExecute` taint effect is no more supported, this changes the daemonset tolerations to change this behavior. Also remove the toleration key `CriticalAddonsOnly` not required anymore.pull/6206/head
parent
b2a0b649fd
commit
ab44beba17
|
@ -224,11 +224,7 @@ items:
|
||||||
seLinuxOptions: {}
|
seLinuxOptions: {}
|
||||||
serviceAccountName: weave-net
|
serviceAccountName: weave-net
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- operator: Exists
|
||||||
operator: Exists
|
|
||||||
# Mark pod as critical for rescheduling (Will have no effect starting with kubernetes 1.12)
|
|
||||||
- key: CriticalAddonsOnly
|
|
||||||
operator: "Exists"
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: weavedb
|
- name: weavedb
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|
Loading…
Reference in New Issue