-
Notifications
You must be signed in to change notification settings - Fork 735
Description
FEATURE REQUEST
If kubeadm is used to deploy an K8S cluster it seems that by default cloud provider internal IP addresses are used. However, it would be really helpful (for cross-cloud deployment use cases) to provide an option to set the --node-ip option of the kubelet (see https://kubernetes.io/docs/admin/kubelet/).
So, a kubeadm init call could on node with <public_master_ip> look like that:
kubeadm init --token=<token> --api-advertise-addresses=<public_master_ip> --node-ip=<public_master_ip>
And a kubeadm join on a node with <public_worker_ip> would look like that:
kubeadm join --token=<token> --node-ip=<public_worker_ip>
Having this, kubeadm could be easily used for cross-cloud provider deployments. If there are other options I am not aware of, I would like to hear. But my search did not turn up a solution (using kubeadm).