Enable scheduling of critical pods and network plugins on master

Added toleration to DNS, netchecker, fluentd, canal, and
calico policy.

Also small fixes to make yamllint pass.
This commit is contained in:
Matthew Mosesohn
2017-08-24 10:04:25 +01:00
parent 8b151d12b9
commit 6bb3463e7c
11 changed files with 48 additions and 18 deletions

View File

@@ -18,6 +18,9 @@ spec:
k8s-app: canal-node
spec:
hostNetwork: true
tolerations:
- effect: NoSchedule
operator: Exists
volumes:
# Used by calico/node.
- name: lib-modules

View File

@@ -8,6 +8,9 @@ metadata:
app: "flannel"
version: "v0.1"
spec:
tolerations:
- effect: NoSchedule
operator: Exists
volumes:
- name: "subnetenv"
hostPath:

View File

@@ -153,4 +153,4 @@ items:
path: /var/lib/dbus
- name: lib-modules
hostPath:
path: /lib/modules
path: /lib/modules