adjust calico-kube-controller to use hostNetwork when using etcd as datastore (#9573)
This commit is contained in:
parent
f8d6b54dbb
commit
94eae6a8dc
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ calico_policy_controller_deployment_nodeselector }}
|
{{ calico_policy_controller_deployment_nodeselector }}
|
||||||
|
{% if calico_datastore == "etcd" %}
|
||||||
|
hostNetwork: true
|
||||||
|
{% endif %}
|
||||||
serviceAccountName: calico-kube-controllers
|
serviceAccountName: calico-kube-controllers
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
|
|
Loading…
Reference in a new issue