Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
错误信息// 查看pod 报错信息[root@k8s-3 ~]# kubectl -n kube-system describe po metrics-server-5cb9ff977-s28lm...........WarningInspectFailed4m53s (x12 over 6m50s)kubelet, k8s-3Failed to inspect image "registry.c
·
错误信息
// 查看pod 报错信息
[root@k8s-3 ~]# kubectl -n kube-system describe po metrics-server-5cb9ff977-s28lm
...........
Warning InspectFailed 4m53s (x12 over 6m50s) kubelet, k8s-3 Failed to inspect image "registry.cn-hangzhou.aliyuncs.com/ccgg/metrics-server-amd64:v0.3.3": rpc error: code = Unknown desc = Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument
Warning Failed 4m38s (x13 over 6m50s) kubelet, k8s-3 Error: ImageInspectError
// 查看 kubelet 报错信息
[root@k8s-3 ~]# journalctl -fu kubelet
Sep 06 14:02:28 k8s-3 kubelet[1342]: E0906 14:02:28.096965 1342 pod_workers.go:190] Error syncing pod 1351dd58-9485-497c-b873-cf563add9c58 ("metrics-server-5cb9ff977-s28lm_kube-system(1351dd58-9485-497c-b873-cf563add9c58)"), skipping: failed to "StartContainer" for "metrics-server" with ImageInspectError: "Failed to inspect image \"registry.cn-hangzhou.aliyuncs.com/ccgg/metrics-server-amd64:v0.3.3\": rpc error: code = Unknown desc = Error response from daemon: readlink /var/lib/docker/overlay2: invalid argument"
清理Docker占用的磁盘空间
// 可以用于清理磁盘,删除关闭的容器、无用的数据卷和网络
[root@k8s-3 / ]docker system prune -a
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all images without at least one container associated to them
- all build cache
Are you sure you want to continue? [y/N] y
Deleted Images:
更多推荐
已为社区贡献1条内容
所有评论(0)