From fde69b1f166e78e4ee40ea45241476ea331704bd Mon Sep 17 00:00:00 2001 From: Guangya Liu Date: Wed, 31 May 2017 11:37:06 +0800 Subject: [PATCH] Move tolerations to PodSpec for ip-masq-agent.yaml. --- cluster/addons/ip-masq-agent/ip-masq-agent.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster/addons/ip-masq-agent/ip-masq-agent.yaml b/cluster/addons/ip-masq-agent/ip-masq-agent.yaml index cc24c28d2d5..715417634d9 100644 --- a/cluster/addons/ip-masq-agent/ip-masq-agent.yaml +++ b/cluster/addons/ip-masq-agent/ip-masq-agent.yaml @@ -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"