Browse Source

Merge pull request #543 from kubespray/kube-proxy-cluster-cidr

[WIP] Add cluster-cidr to kube-proxy config
pull/544/head
Smaine Kahlouch 8 years ago
committed by GitHub
parent
commit
c03bab3246
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/node/templates/manifests/kube-proxy.manifest.j2

1
roles/kubernetes/node/templates/manifests/kube-proxy.manifest.j2

@ -17,6 +17,7 @@ spec:
- --kubeconfig=/etc/kubernetes/node-kubeconfig.yaml
{% endif %}
- --bind-address={{ ip | default(ansible_default_ipv4.address) }}
- --cluster-cidr={{ kube_pods_subnet }}
- --proxy-mode={{ kube_proxy_mode }}
{% if kube_proxy_masquerade_all and kube_proxy_mode == "iptables" %}
- --masquerade-all

Loading…
Cancel
Save