Move tolerations to PodSpec for ip-masq-agent.yaml.
This commit is contained in:
parent
438e737657
commit
fde69b1f16
@ -13,9 +13,6 @@ spec:
|
|||||||
k8s-app: ip-masq-agent
|
k8s-app: ip-masq-agent
|
||||||
annotations:
|
annotations:
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||||
scheduler.alpha.kubernetes.io/tolerations: |
|
|
||||||
[{"key": "dedicated", "value": "master", "effect": "NoSchedule" },
|
|
||||||
{"key":"CriticalAddonsOnly", "operator":"Exists"}]
|
|
||||||
spec:
|
spec:
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
@ -36,3 +33,6 @@ spec:
|
|||||||
# The daemon looks for its config in a YAML file at /etc/config/ip-masq-agent
|
# The daemon looks for its config in a YAML file at /etc/config/ip-masq-agent
|
||||||
- key: config
|
- key: config
|
||||||
path: ip-masq-agent
|
path: ip-masq-agent
|
||||||
|
tolerations:
|
||||||
|
- key: "CriticalAddonsOnly"
|
||||||
|
operator: "Exists"
|
||||||
|
Loading…
Reference in New Issue
Block a user