在 k8s 集群的节点的 /var/log/syslog 中出现下面的错误日志
Error syncing pod ..., skipping: failed to "StartContainer" for "blog-web" with CrashLoopBackOff: "back-off 2m40s restarting failed container=blog-web pod=blog-web-4dh84_production"
请问 CrashLoopBackOff 是指什么情况?
在 Kubernetes Troubleshooting Walkthrough - Pod Failure CrashLoopBackOff 中找到了答案:
This means that your pod is starting, crashing, starting again, and then crashing again.
就是指 pod 启动 -> 挂了 -> 又启动了 -> 又挂了…