Solved kubelet E1103 Orphaned Pod
今年在公司一个小项目上部署了 k8s,学以致用。
这两天检查 kubelet 日志的里面发现有这样的错误日志:
Nov 3 18:12:26 k8s-02 kubelet: E1103 18:12:26.572010 1324 kubelet_volumes.go:154] orphaned pod "930d1c27-a975-4de5-9e8f-6e74d42d39e5" found, but volume paths are still present on disk : There were a total of 82 errors similar to this. Turn up verbosity to see them.
经查,使用 kubectl delete --force
删除 pod 或者系统异常关闭都会导致该问题出现,即:pod异常退出均有可能出现上面的报错。