0

出于某种原因,我们的谷歌容器有时会重新启动,而我们无法找到原因,这很好,我想如果它们再次快速启动,很遗憾并非如此。

问题似乎是持久磁盘卷的卸载速度不够快,当重新启动的容器尝试安装它时,它只是卡住了,你必须杀死它并手动启动它。

是否可以将容器配置为在重新挂载持久磁盘之前等待卸载,解决此问题的正确解决方案是什么?

kubelet gke-xxx-xxx-xx Warning FailedMount 

Unable to mount volumes for pod "xxx-xxx-xxx-hdki0_default(UUID)": 

timeout expired waiting for volumes to attach/mount
for pod "xxx-xxx-xxx-hdki0"/"default".

list of unattached/unmounted volumes=[xxx-volume]
kubelet gke-xxx-xxx-xx

Warning FailedSync Error syncing pod, skipping: 
timeout expired waiting for volumes to attach/mount for pod 
"xxx-xxx-xxx-hdki0"/"default". 

list of unattached/unmounted volumes=[xxx-volume]
4

0 回答 0