K8s定时任务启动时间歇性出现CreateContainerError问题排查求助
GKE集群中CronJob出现CreateContainerError,排查容器运行时层面诱因
在GCP GKE集群(版本v1.22.15-gke.2500)上运行定时任务(CronJob)时,出现了CreateContainerError,但后续重试的容器能正常启动。我判断问题出在Docker引擎(v20.10.6)层面,这是目前能找到的唯一共性诱因。
收到的错误信息如下:
Error from server (BadRequest): container "my-container" in pod "my-cron-27911235-69t4m" is waiting to start: CreateContainerError
执行kubectl describe pod后,仅能看到如下信息,没有更多有效细节:
... State: Waiting Reason: CreateContainerError Ready: False Restart Count: 0 ...
希望了解容器运行时层面可能导致这个问题的具体诱因,以及对应的排查方向,感谢帮助!
内容的提问来源于stack exchange,提问作者Rob Grossman
相关产品推荐
相关产品推荐

