cleanup: replace node-role.kubernetes.io/master (#9627)

Signed-off-by: xin.li <xin.li@daocloud.io>

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
my-git9
2023-01-02 05:59:32 +08:00
committed by GitHub
parent 1c4db6132d
commit 85fa6af313
2 changed files with 7 additions and 3 deletions

View File

@ -94,6 +94,8 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
volumes:
- name: calico-apiserver-certs
secret:

View File

@ -31,6 +31,8 @@ spec:
operator: Exists
- key: node-role.kubernetes.io/master
effect: NoSchedule
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
serviceAccountName: calico-kube-controllers
priorityClassName: system-cluster-critical
# The controllers must run in the host network namespace so that