Commit fde69b1f authored by Guangya Liu's avatar Guangya Liu

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

parent 438e7376
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment