启动kubelet服务,报kubelet masked…

root@ubuntu:/nfs/data# service  kubelet start
Failed to start kubelet.service: Unit kubelet.service is masked.
root@ubuntu:/nfs/data# systemctl unmask kubelet
Removed /etc/systemd/system/kubelet.service.
root@ubuntu:/nfs/data# service  kubelet start
root@ubuntu:/nfs/data# service  kubelet status
● kubelet.service - kubelet: The Kubernetes Node Agent
     Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: en>
    Drop-In: /etc/systemd/system/kubelet.service.d
             └─10-kubeadm.conf
     Active: active (running) since Thu 2021-11-18 03:07:23 PST; 2s ago
       Docs: http://kubernetes.io/docs/
   Main PID: 60348 (kubelet)
      Tasks: 9 (limit: 2260)
     Memory: 48.2M
     CGroup: /system.slice/kubelet.service
             └─60348 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstr>


Logo

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

更多推荐