mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Move tolerations to PodSpec for calico-node.yaml.
This commit is contained in:
parent
438e737657
commit
2bf38e0ec4
@ -17,9 +17,6 @@ spec:
|
|||||||
k8s-app: calico-node
|
k8s-app: calico-node
|
||||||
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:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
projectcalico.org/ds-ready: "true"
|
projectcalico.org/ds-ready: "true"
|
||||||
@ -134,3 +131,6 @@ spec:
|
|||||||
- name: cni-net-dir
|
- name: cni-net-dir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/cni/net.d
|
path: /etc/cni/net.d
|
||||||
|
tolerations:
|
||||||
|
- key: "CriticalAddonsOnly"
|
||||||
|
operator: "Exists"
|
||||||
|
Loading…
Reference in New Issue
Block a user