Browse Source

adjust calico-kube-controller to use hostNetwork when using etcd as datastore (#9573)

pull/9574/head
JSpon 2 years ago
committed by GitHub
parent
commit
94eae6a8dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/kubernetes-apps/policy_controller/calico/templates/calico-kube-controllers.yml.j2

3
roles/kubernetes-apps/policy_controller/calico/templates/calico-kube-controllers.yml.j2

@ -21,6 +21,9 @@ spec:
spec:
nodeSelector:
{{ calico_policy_controller_deployment_nodeselector }}
{% if calico_datastore == "etcd" %}
hostNetwork: true
{% endif %}
serviceAccountName: calico-kube-controllers
tolerations:
- key: CriticalAddonsOnly

Loading…
Cancel
Save