所遇问题
Back-off restarting failed container

基本原理
Back-off restarting failed container的Warning事件,一般是由于通过指定的镜像启动容器后,容器内部没有常驻进程,导致容器启动成功后即退出,从而进行了持续的重启
解决方法
找到对应的deployment添加以下信息
command: ["/bin/bash", "-ce", "tail -f /dev/null"]


Back-off restarting failed container

Back-off restarting failed container的Warning事件,一般是由于通过指定的镜像启动容器后,容器内部没有常驻进程,导致容器启动成功后即退出,从而进行了持续的重启
找到对应的deployment添加以下信息
command: ["/bin/bash", "-ce", "tail -f /dev/null"]


1万+

被折叠的 条评论
为什么被折叠?