Commit 83259438 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #46675 from gyliu513/calico

Automatic merge from submit-queue (batch tested with PRs 46456, 46675, 46676, 46416, 46375) Move tolerations to PodSpec for calico-node.yaml. **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note none ```
parents b8c9ee8a 2bf38e0e
...@@ -17,9 +17,6 @@ spec: ...@@ -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: ...@@ -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"
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