diff --git a/pkg/minikube/bootstrapper/bsutil/kubelet.go b/pkg/minikube/bootstrapper/bsutil/kubelet.go index 1ed22d17c6b9..d2fb88899953 100644 --- a/pkg/minikube/bootstrapper/bsutil/kubelet.go +++ b/pkg/minikube/bootstrapper/bsutil/kubelet.go @@ -54,12 +54,8 @@ func extraKubeletOpts(mc config.ClusterConfig, nc config.Node, r cruntime.Manage if k8s.NetworkPlugin != "" { extraOpts["network-plugin"] = k8s.NetworkPlugin } - cp, err := config.PrimaryControlPlane(&mc) - if err != nil { - return nil, errors.Wrap(err, "getting master node") - } if _, ok := extraOpts["node-ip"]; !ok { - extraOpts["node-ip"] = cp.IP + extraOpts["node-ip"] = nc.IP } if _, ok := extraOpts["hostname-override"]; !ok { nodeName := KubeNodeName(mc, nc)