参考了一下保姆教程,想要学习下单点部署Kubeadm,但按照教程一步步操作之后,Kubeadm init 指令也执行成功了,但最后执行 kubectl apply -f kube-flannel.yml 指令时,就开始提示
The connection to the server 192.168.50.100:8080 was refused - did you specify the right host or port?
后续测试下有关 kubectl 的指令,均提示连接拒绝的问题。
随后搜索了一遍相关博客,执行 /etc/kubernetes/admin.conf 文件拷贝等相关解决方案均无效。

