You need to enable JavaScript to run this app.
导航

如何处理 Pod 启动后报错 pull QPS exceeded?

最近更新时间2023.08.09 20:40:03

首次发布时间2023.05.16 17:06:57

问题描述

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 中 registryBurstregistryPullQPS 的参数值。最终需要设定的参数值和具体业务场景相关,请结合自身业务场景进行调试。