k8s安装过程遇到的问题处理
一、安装过程,参照 尚硅谷的安装流程:https://www.yuque.com/leifengyang/oncloud/ghnb83 我是一个master节点和2个从节点
1.从节点报错:The connection to the server localhost:8080 was refused - did you specify the right host or port?
解决方案参考: https://www.cnblogs.com/wangzy-Zj/p/13958054.html
2. calico.yaml 下载失败,更换成flannel 参考:https://www.cnblogs.com/Sunzz/p/15184167.html
a.K8S集群节点显示NotReady怎么解决? 参考:https://blog.csdn.net/m0_64459548/article/details/121630403
b. failed to find plugin “flannel” in path [/opt/cni/bin],k8sNotReady 参考:https://blog.csdn.net/qq_29385297/article/details/127682552
3. pod没法跨节点访问:
a:如果是virtualBox创建的虚拟机搭建的话,参考 https://www.jianshu.com/p/ed1ae8443fff
b: 如果是云服务器搭建的话,参考 https://mp.weixin.qq.com/s/7eovxPXPxdPyv5s0wD5RyQ