kubelet 报错: Orphaned pod found - but volume paths are still present on disk

报错日志
# journalctl -fu kubelet
Sep 06 13:47:57 k8s-3 kubelet[1342]: E0906 13:47:57.982361    1342 kubelet_volumes.go:154] Orphaned pod "82ebc0c5-dd4c-43d8-8fa1-7d2b5af4c899" found, but volume subpaths are still present on disk : There were a total of 2 errors similar to this. Turn up verbosity to see them.
Sep 06 13:47:59 k8s-3 kubelet[1342]: E0906 13:47:59.978379    1342 kubelet_volumes.go:154] Orphaned pod "82ebc0c5-dd4c-43d8-8fa1-7d2b5af4c899" found, but volume subpaths are still present on disk : There were a total of 2 errors similar to this. Turn up verbosity to see them.
Sep 06 13:48:01 k8s-3 kubelet[1342]: E0906 13:48:01.982388    1342 kubelet_volumes.go:154] Orphaned pod "82ebc0c5-dd4c-43d8-8fa1-7d2b5af4c899" found, but volume subpaths are still present on disk : There were a total of 2 errors similar to this. Turn up verbosity to see them.
Sep 06 13:48:03 k8s-3 kubelet[1342]: E0906 13:48:03.981616    1342 kubelet_volumes.go:154] Orphaned pod "82ebc0c5-dd4c-43d8-8fa1-7d2b5af4c899" found, but volume subpaths are still present on disk : There were a total of 2 errors similar to this. Turn up verbosity to see them.









进入kubelet的目录,可以发现里面装的是容器的数据,etc-hosts文件中还保留着podname
[root@k8s-3 ~]# cd /var/lib/kubelet/pods/

[root@k8s-3 /var/lib/kubelet/pods]# ls
06f203b9-22d8-4846-91d1-18acfc9d994f  651a95bc785f65113769b7e4c50cd4e7      89a03279-88ba-489e-adbc-d0f2ab90d64e  e970060a-0aed-43d5-b2c0-2e18e705e82f
1e3624eac7976e35b890aed97ae6509d      7c040011-5506-4eda-ae5a-46910e27b54f  abfd14af-6cbd-44e0-8e7c-73bc944042a6  f2fd39f057500a74a8a1587ec9579f81
2575cfc3-976b-4383-8482-13f3d8f9d289  82ebc0c5-dd4c-43d8-8fa1-7d2b5af4c899  db935350b96a454fed49cdbd82d5b12a

// 直接执行删除操作
[root@k8s-3 /var/lib/kubelet/pods]# rm -rf 82ebc0c5-dd4c-43d8-8fa1-7d2b5af4c899/







  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值