Move tolerations to PodSpec for ip-masq-agent.yaml.

This commit is contained in:
Guangya Liu 2017-05-31 11:37:06 +08:00
parent 438e737657
commit fde69b1f16

View File

@ -13,9 +13,6 @@ spec:
k8s-app: ip-masq-agent
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: |
[{"key": "dedicated", "value": "master", "effect": "NoSchedule" },
{"key":"CriticalAddonsOnly", "operator":"Exists"}]
spec:
hostNetwork: true
containers:
@ -36,3 +33,6 @@ spec:
# The daemon looks for its config in a YAML file at /etc/config/ip-masq-agent
- key: config
path: ip-masq-agent
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"