k8s-for-docker-desktop
k8s-for-docker-desktop copied to clipboard
The connection to the server localhost:8080 was refused - did you specify the right host or port?
kubenetes 安装成功后 运行状态正常 当运行 kubectl cluster-info 提示
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. The connection to the server localhost:8080 was refused - did you specify the right host or port?
在Docker中开启kubernetes了吗?

我遇到了相同的问题,是在卸载后重新安装第一次启动k8s时出现,在重启Docker Desktop后就好了。