out.T(out.Tip,"Please ensure your system has {{.cpu_counts}} CPU cores.",out.V{"cpu_counts":viper.GetInt(cpus)})
}else{
out.T(out.Tip,"Please ensure your {{.driver_name}} system has access to {{.cpu_counts}} CPU cores or reduce the number of the specified CPUs",out.V{"driver_name":viper.GetString("driver"),"cpu_counts":viper.GetInt(cpus)})
}
}
exit.UsageT("Ensure your {{.driver_name}} system has enough CPUs. The minimum allowed is 2 CPUs.",out.V{"driver_name":viper.GetString("driver")})
}
iferrors.Is(err,kubeadm.ErrNoExecLinux){
out.ErrLn("")
out.ErrT(out.Conflict,"kubeadm binary is not executable !")
out.T(out.Documentation,"Other users fixed this as explained in this issue: https://github.com/kubernetes/minikube/issues/8327#issuecomment-651288459")
exit.UsageT(`Ensure the binaries are not mounted with "noexec" option. To see list of your mount permissions run:
out.T(out.Tip,"Please ensure your system has {{.cpu_counts}} CPU cores.",out.V{"cpu_counts":viper.GetInt(cpus)})
}else{
out.T(out.Tip,"Please ensure your {{.driver_name}} system has access to {{.cpu_counts}} CPU cores or reduce the number of the specified CPUs",out.V{"driver_name":viper.GetString("driver"),"cpu_counts":viper.GetInt(cpus)})
}
}
exit.UsageT("Ensure your {{.driver_name}} system has enough CPUs. The minimum allowed is 2 CPUs.",out.V{"driver_name":viper.GetString("driver")})
}
iferrors.Is(err,kubeadm.ErrNoExecLinux){
out.ErrLn("")
out.ErrT(out.Conflict,"kubeadm binary is not executable !")
out.T(out.Documentation,"Try the solution in this link: https://github.com/kubernetes/minikube/issues/8327#issuecomment-651288459")
exit.UsageT(`Ensure the binaries are not mounted with "noexec" option. To check run: