Browse Source

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
Flavien 5 years ago
committed by GitHub
parent
commit
ab44beba17
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions
  1. 6
      roles/network_plugin/weave/templates/weave-net.yml.j2

6
roles/network_plugin/weave/templates/weave-net.yml.j2

@ -224,11 +224,7 @@ items:
seLinuxOptions: {}
serviceAccountName: weave-net
tolerations:
- effect: NoSchedule
operator: Exists
# Mark pod as critical for rescheduling (Will have no effect starting with kubernetes 1.12)
- key: CriticalAddonsOnly
operator: "Exists"
- operator: Exists
volumes:
- name: weavedb
hostPath:

Loading…
Cancel
Save