创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:AWS EKS
Kubernetes版本信息
Client Version: version.Info{Major:“1”, Minor:“23”, GitVersion:“v1.23.5”, GitCommit:“c285e781331a3785a7f436042c65c5641ce8a9e9”, GitTreeState:“clean”, BuildDate:“2022-03-16T15:51:05Z”, GoVersion:“go1.17.8”, Compiler:“gc”, Platform:“darwin/amd64”}
Server Version: version.Info{Major:“1”, Minor:“23+”, GitVersion:“v1.23.10-eks-15b7512”, GitCommit:“cd6399691d9b1fed9ec20c9c5e82f5993c3f42cb”, GitTreeState:“clean”, BuildDate:“2022-08-31T19:17:01Z”, GoVersion:“go1.17.13”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
docker
KubeSphere版本信息
v3.3.0。在已有K8s上安装
问题是什么
Back-off pulling image “kubesphere/ks-apiserver:v3.3.0”
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
因为docker hub 对匿名用户有拉取速率限制
我目前想到的是可以拉取相同镜像到我的自建镜像仓库,然后修改deployment 中images 容器地址,但是重启配置会被刷新
始终去docker hub上拉取
请问要如何进行修改