k8s 基础 问题

  • vim /usr/lib/systemd/system/docker.service
  •   

    --insecure-registry registry.access.redhat.com \

     

  • ubelet.service启动报错 
  • error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd"


    # vim /lib/systemd/system/docker.service
    # 将 --exec-opt native.cgroupdriver=systemd  修改为:
    #  --exec-opt native.cgroupdriver=cgroupfs
    # systemctl daemon-reload 
    # systemctl restart docker.service
    # kubelet显示正常

     

posted @ 2017-11-07 14:24  一只宅男的自我修养  阅读(657)  评论(0编辑  收藏  举报