adjust calico-kube-controller to non-hostnetwork pod (#9465)

Signed-off-by: cyclinder qifeng.guo@daocloud.io

Signed-off-by: cyclinder qifeng.guo@daocloud.io
This commit is contained in:
Cyclinder 2022-11-07 09:34:17 +08:00 committed by GitHub
parent 2a696ddb34
commit 590b4aa240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,9 +21,10 @@ spec:
spec: spec:
nodeSelector: nodeSelector:
{{ calico_policy_controller_deployment_nodeselector }} {{ calico_policy_controller_deployment_nodeselector }}
hostNetwork: true
serviceAccountName: calico-kube-controllers serviceAccountName: calico-kube-controllers
tolerations: tolerations:
- key: CriticalAddonsOnly
operator: Exists
- key: node-role.kubernetes.io/master - key: node-role.kubernetes.io/master
effect: NoSchedule effect: NoSchedule
- key: node-role.kubernetes.io/control-plane - key: node-role.kubernetes.io/control-plane