Error response from daemon: readlink/var/lib/docker/overlay2: invalid argument

1524 단어 kubernetes

오류 정보

//  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:

좋은 웹페이지 즐겨찾기