Move tolerations to PodSpec for calico-node.yaml.

pull/6/head
Guangya Liu 2017-05-31 11:32:21 +08:00
parent 438e737657
commit 2bf38e0ec4
1 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,6 @@ spec:
k8s-app: calico-node
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: |
[{"key": "dedicated", "value": "master", "effect": "NoSchedule" },
{"key":"CriticalAddonsOnly", "operator":"Exists"}]
spec:
nodeSelector:
projectcalico.org/ds-ready: "true"
@ -134,3 +131,6 @@ spec:
- name: cni-net-dir
hostPath:
path: /etc/cni/net.d
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"