<p>I have a single master cluster with 3 worker nodes. The master node has one network interface of 10Gb capacity and all worker nodes have two interfaces: 10Gb and 40Gb interface. They are all connected via a switch.</p>
<p>By default, Kubernetes binds to the default network eth0 which is 10Gb for the worker nodes. How do I specify the 40Gb interface at joining?</p>
<p>The kubeadm init command has a <code>--apiserver-advertise-address</code> argument but this is for the apiserver. Is there any equivalent option for the worker nodes so the communciation between master and worker (and between workers) are realised on the 40Gb link?</p>
<p>Please note that this is a bare-metal on-prem installation with OSS Kubernetes v1.20.</p>

Muzammil
<p>You can use the <code>--hostname-override</code> flag to override the default kubelet behavior. The default name of the kubelet equals to the hostname and it's ip address default to the interface's ip address default gateway.</p>
<p>For more details please visit <a href="https://github.com/kubernetes/kubernetes/issues/33618" rel="nofollow noreferrer">this issue</a>.</p>
