Pod 启动后拉取镜像失败,报错 pull QPS exceeded
,具体日志示例如下。
1s Normal Created pod/****-pod Created container step-git-clone-0 1s Normal Started pod/****-pod Started container step-git-clone-0 1s Normal Pulling pod/****-pod Pulling image "cr-cn-****.volces.com/cp-system/exec-bash:v1.0.0" 1s Normal PullImageFailed taskrun/**** build step "step-tos-cache-2-push" is pending with reason "pull QPS exceeded"
以上问题是由 Kubelet 组件自身的限制所导致,并非镜像仓库 CR 侧问题。如果遇到以上问题,建议调大 Kubelet 中 registryBurst
和 registryPullQPS
的参数值。最终需要设定的参数值和具体业务场景相关,请结合自身业务场景进行调试。