// Choose the right address for the API Server to advertise. If the advertise address is localhost or 0.0.0.0, the default interface's IP address is used
returnfmt.Errorf("this version of kubeadm only supports deploying clusters with the control plane version >= %s. Current version: %s",kubeadmconstants.MinimumControlPlaneVersion.String(),cfg.KubernetesVersion)
}
fmt.Printf("[init] Using Kubernetes version: %s\n",cfg.KubernetesVersion)
fmt.Printf("[init] Using Authorization modes: %v\n",cfg.AuthorizationModes)
// Warn about the limitations with the current cloudprovider solution.
ifcfg.CloudProvider!=""{
fmt.Println("[init] WARNING: For cloudprovider integrations to work --cloud-provider must be set for all kubelets in the cluster.")
fmt.Println("\t(/etc/systemd/system/kubelet.service.d/10-kubeadm.conf should be edited for this purpose)")