-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Description
Is this a BUG REPORT or FEATURE REQUEST?:
Uncomment only one, leave it on its own line:
/kind bug
/kind feature
What happened:
Run 'kubeadm init --help' and there is no option to configure the bindAddress that kube-proxy should use (nor for any other kube-proxy configuration).
What you expected to happen:
I'd like to add a kubeadm configuration for directing kubeadm to create a kube-proxy config file that optionally contains a setting for kube-proxy's bindAddress. (This kube-proxy config file setting is equivalant to the deprecated --bind-address command line setting for kube-proxy.) The reasons for adding this config knob:
- For IPv6-only operation: Setting the kube-proxy bindAddress to any IPv6 value (e.g. ::0, which means bind on all interfaces) can be used to indicate to kube-proxy that it should use ip6tables for implementing kubernetes services (rather than iptables).
- In some cases, a more restrictive kube-proxy bindAddress than the default 0.0.0.0 might be required.
- Adding bindAddress config knob to kubeadm will pave the way for other kube-proxy configurations to be set via kubeadm.
How to reproduce it (as minimally and precisely as possible):
Run 'kubeadm init --help'.
Anything else we need to know?:
This configuration knob will allow 'kubeadm init ...' to set up kube-proxy for IPv6-only operation (and dual-stack operation is a few months away from now).
Environment:
- Kubernetes version (use
kubectl version
): Latest master - Cloud provider or hardware configuration**: CentOS 7 VirtualBox VMs on a Ubuntu 16.04.1 host
- OS (e.g. from /etc/os-release): Ubuntu 16.04.1 host, CentOS 6 guests
- Kernel (e.g.
uname -a
): 4.4.0-78-generic Improve e2e (improve #3) #99-Ubuntu x86_64 GNU/Linux - Install tools:
- Others: