miaoyun+Rancher+K8S学习与实践


20_Rancher常见问题收集

<h1>十、常见问题收集</h1> <h2>1、如何在国内优雅地使用Rancher</h2> <p><a href="https://mp.weixin.qq.com/s/XMh0-SscBPDYFfPdpmqdkw">https://mp.weixin.qq.com/s/XMh0-SscBPDYFfPdpmqdkw</a></p> <h2>2、Agent 无法连接 Rancher server</h2> <p><a href="https://rancher2.docs.rancher.cn/docs/rancher2/faq/install/_index#error-httpsranchermyorgping-is-not-accessible-could-not-resolve-host-ranchermyorg">https://rancher2.docs.rancher.cn/docs/rancher2/faq/install/_index#error-httpsranchermyorgping-is-not-accessible-could-not-resolve-host-ranchermyorg</a> <a href="https://docs.rancher.cn/docs/rancher2/faq/install/_index#error-httpsranchermyorgping-is-not-accessible-could-not-resolve-host-ranchermyorg">https://docs.rancher.cn/docs/rancher2/faq/install/_index#error-httpsranchermyorgping-is-not-accessible-could-not-resolve-host-ranchermyorg</a> 或者使用HostAliases <a href="https://rancher2.docs.rancher.cn/docs/rancher2/faq/install/_index#error-httpsranchermyorgping-is-not-accessible-could-not-resolve-host-ranchermyorg">https://rancher2.docs.rancher.cn/docs/rancher2/faq/install/_index#error-httpsranchermyorgping-is-not-accessible-could-not-resolve-host-ranchermyorg</a></p> <h2>3、k8S垃圾回收</h2> <p><a href="https://kuboard.cn/learning/k8s-advanced/gc.html">https://kuboard.cn/learning/k8s-advanced/gc.html</a></p> <h2>4、Rancher文档---证书轮换</h2> <p><a href="https://docs.rancher.cn/docs/rancher2/cluster-admin/certificate-rotation/_index/">https://docs.rancher.cn/docs/rancher2/cluster-admin/certificate-rotation/_index/</a></p> <h2>5、无需重新搭建集群,轻松替换证书!</h2> <p><a href="https://mp.weixin.qq.com/s/7Ym6VKGdRsj2qnJT2_zqRA">https://mp.weixin.qq.com/s/7Ym6VKGdRsj2qnJT2_zqRA</a></p> <h2>6、Rancher无法管理集群怎么办?RKE来接手!</h2> <p><a href="https://mp.weixin.qq.com/s/O0FreSei96kQj9rgK5R50w">https://mp.weixin.qq.com/s/O0FreSei96kQj9rgK5R50w</a></p> <h2>7、主机清理</h2> <p><a href="https://docs.rancher.cn/docs/rancher2/cluster-admin/cleaning-cluster-nodes/_index/">https://docs.rancher.cn/docs/rancher2/cluster-admin/cleaning-cluster-nodes/_index/</a> 按这里提供的脚本,把主机环境清理 熹先生: @Ksd 刚才是几个机器同名,忘记改了,现在改过来重启过。 还是刚才的状态,集群没有建立起来,还有什么地方有问题吗? 以前测试过,一个机器安装3个功能,然后其余机器都装worker,是正常的 现在想试试用3台机器只做ETCD CONTROL两个角色的集群,没成功 Ksd: @熹先生 如果可以的话,按照 <a href="https://docs.rancher.cn/docs/rancher2/cluster-admin/cleaning-cluster-nodes/_index/">https://docs.rancher.cn/docs/rancher2/cluster-admin/cleaning-cluster-nodes/_index/</a> 里提供的脚本,把主机环境清理下 因为你修改了主机名,然后再重启的,可能会有一些数据链对不上了 Ksd: 但清理前得看看脚本,以免删除了你需要的数据 熹先生: 我直接恢复快照改好名字再测试下 王明阳: 改了主机名,,签发的证书就对不上了,只能清理系统,重新安装</p> <h2>8、将 Kubernetes 证书文件全部清空了咋办?在线等!</h2> <p><a href="https://mp.weixin.qq.com/s/O3fJF5aZuxPOKa7lIjrHnQ">https://mp.weixin.qq.com/s/O3fJF5aZuxPOKa7lIjrHnQ</a></p>

页面列表

ITEM_HTML