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:
parent
2a696ddb34
commit
590b4aa240
1 changed files with 2 additions and 1 deletions
|
@ -21,9 +21,10 @@ spec:
|
|||
spec:
|
||||
nodeSelector:
|
||||
{{ calico_policy_controller_deployment_nodeselector }}
|
||||
hostNetwork: true
|
||||
serviceAccountName: calico-kube-controllers
|
||||
tolerations:
|
||||
- key: CriticalAddonsOnly
|
||||
operator: Exists
|
||||
- key: node-role.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
|
|
Loading…
Reference in a new issue