0

当我尝试将图像拉到我的 EKS 集群时,我一直遇到这个问题,它说达到了拉取率限制,但是当我尝试将它拉到我的本地计算机时它可以工作。

 Failed to pull image "myrepo/postgres:12-alpine": rpc error: code = Unknown desc = Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading:

所有图片都是公开的,

有人可以指导我解决这个问题,因为我仍然无法将它部署在我的 kube 集群中。

4

1 回答 1

1

最有可能的限制是每个 IP。因此,您的本地机器 ip 仍然有“免费”拉取。问题是(很可能)您的集群的 IP 在多台(虚拟)机器之间“共享”,因此它们都受到每 100 次拉取/6 小时的限制。您可以通过身份验证来增加限制,请参阅https://www.docker.com/increase-rate-limits

在此处阅读有关速率限制的更多信息https://docs.docker.com/docker-hub/download-rate-limit/

于 2021-06-09T12:27:16.070 回答