mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
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
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user