参考链接:https://www.cnblogs.com/ericnie/p/7551898.html

                  https://www.cnblogs.com/FateHuli/p/11836968.html

                  https://www.cnblogs.com/doctorqbw/archive/2012/02/03/2337411.html

                  https://www.jianshu.com/p/b32837023f77

                  https://www.cnbugs.com/post-2335.html

遇到问题:Output: mount.nfs: access denied by server while mounting 10.182.168.99:/k8s/test

解决办法:修改配置文件/etc/exports,加入 insecure 选项

                  /k8s/test *(insecure,rw,async,no_root_squash)
                  service portmap restart
                  service nfs-kernel-server restart

遇到问题:出现http: server gave HTTP response to HTTPS client错误(node节点也需要加入)

解决办法:vim /etc/docker/daemon.json

                  #加入信任名单

                  {

                        "registry-mirrors": ["https://registry.docker-cn.com"],

                        "insecure-registries":["192.168.183.130:5000"]

                  }

                  service docker restart

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐