[root@master1 ~]# kubectl get pods -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES activemq-deployment-d89bcb469-5tlkn 0/1 CrashLoopBackOff 5 7m35s 10.244.3.7 node2
Kubernetes报错Failed to get system container stats for “/system.slice/docker.service”: failed to get cgroup stats for “/system.slice/docker.service”
[root@master1 net.d]# systemctl status kubelet ● kubelet.service - kubelet: The Kubernetes Node AgentLoaded: loaded (/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: disabled)Drop-In: /usr/lib/systemd/system/kubelet.service.d└─10-kubeadm.confActive: active (running) since Sun 2021-03-21 09:43:20 CST; 1 day 7h agoDocs: https://kubernetes.io/docs/Main PID: 829 (kubelet)Tasks: 17Memory: 93.6MCGroup: /system.slice/kubelet.service└─829 /usr/bin/kubelet --bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --config=/var/lib/kubelet/config.yaml --cgroup-driver=systemd --network-plugin=cni --pod-infra-...Mar 22 17:21:59 master1 kubelet[829]: E0322 17:21:59.967531 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":... Mar 22 17:22:10 master1 kubelet[829]: E0322 17:22:09.999160 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":... Mar 22 17:22:20 master1 kubelet[829]: E0322 17:22:20.018321 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":... Mar 22 17:22:30 master1 kubelet[829]: E0322 17:22:30.044959 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":... Mar 22 17:22:40 master1 kubelet[829]: E0322 17:22:40.069868 829 summary_sys_containers.go:47] Failed to get system container stats for "/system.slice/docker.service": failed to get cgroup stats for "/system.slice/docker.service":...