Welcome to the Linux Foundation Forum!

unable to pull redis:alpine image while I still have remaining ratelimit

edited January 2023 in LFS269 Class Forum

Issue desc:
unable to pull redis:alpine image while I still have remaining ratelimit
ps: docker pull works

% kubectl create deployment redis --image=redis:alpine

NAME READY STATUS RESTARTS AGE
redis-5595d8687c-6w9km 0/1 ErrImagePull 0 6s

% kubectl describe pod redis
Warning Failed 61s (x2 over 79s) kubelet Failed to pull image "redis:alpine": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/redis:alpine": failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/redis/manifests/sha256:9dc2499d6c21f869a6e22b170003483d3fca8c03992f4a11f6493c0b392da40f: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Where,

% curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest
.

ratelimit-limit: 200;w=21600
ratelimit-remaining: 198;w=21600
```

% docker pull redis:alpine
alpine: Pulling from library/redis
c158987b0551: Pull complete
1a990ecc86f0: Pull complete
f2520a938316: Pull complete f7ed7b580c2c: Pull complete
d48b7a41c3f1: Pull complete b7e40f3e68f9: Pull complete
Digest: sha256:9dc2499d6c21f869a6e22b170003483d3fca8c03992f4a11f6493c0b392da40f
Status: Downloaded newer image for redis:alpine
docker.io/library/redis:alpine

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training