我正在使用docker运行kuberentes并且我能够运行一个pod,它会在一段时间后进入运行阶段进入待处理状态
kubelet日志显示:
E1027 02:52:53.222558 21724 kubelet.go:2246] Error updating node status, will retry: node "127.0.0.1" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
I1027 02:53:06.230423 21724 kubelet.go:2255] Recording NodeReady event message for node 127.0.0.1
然后节点没有准备好。然后我必须重新启动kubeblet并且一切运行正常一段时间,然后kubelet再次到期。知道为什么我有这个问题吗?为什么kubelet说节点一次又一次没有准备好?
TIA。
更新: 还有这些类型的日志:
E1027 03:23:00.659237 17690 volumes.go:152] Could not read directory /var/lib/kubelet/pods/34aa25b8-763b-11e5-9d79-5252c7a37a40/volumes: open /var/lib/kubelet/pods/34aa25b8-763b-11e5-9d79-5252c7a37a40/volumes: no such file or directory
E1027 03:23:00.659359 17690 volumes.go:152] Could not read directory /var/lib/kubelet/pods/91cc7728-763b-11e5-9d79-5252c7a37a40/volumes: open /var/lib/kubelet/pods/91cc7728-763b-11e5-9d79-5252c7a37a40/volumes: no such file or directory
E1027 03:23:00.659419 17690 volumes.go:152] Could not read directory /var/lib/kubelet/pods/ebea235e-765e-11e5-b350-525400698cc6/volumes: open /var/lib/kubelet/pods/ebea235e-765e-11e5-b350-525400698cc6/volumes: no such file or directory
E1027 03:23:00.659597 17690 volumes.go:152] Could not read directory /var/lib/kubelet/pods/34aa25b8-763b-11e5-9d79-5252c7a37a40/volumes: open /var/lib/kubelet/pods/34aa25b8-763b-11e5-9d79-5252c7a37a40/volumes: no such file or directory
E1027 03:23:00.660461 17690 volumes.go:152] Could not read directory /var/lib/kubelet/pods/91cc7728-763b-11e5-9d79-5252c7a37a40/volumes: open /var/lib/kubelet/pods/91cc7728-763b-11e5-9d79-5252c7a37a40/volumes: no such file or directory
E1027 03:23:00.660906 17690 volumes.go:152] Could not read directory /var/lib/kubelet/pods/ebea235e-765e-11e5-b350-525400698cc6/volumes: open /var/lib/kubelet/pods/ebea235e-765e-11e5-b350-525400698cc6/volumes: no such file or directory