Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Hub rate limits causing failures in e2e tests #564

Open
1 task done
sridhargaddam opened this issue Jan 20, 2025 · 2 comments
Open
1 task done

Docker Hub rate limits causing failures in e2e tests #564

sridhargaddam opened this issue Jan 20, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@sridhargaddam
Copy link
Contributor

Is this the right place to submit this?

  • This is not a question about how to use the sail-operator

Bug Description

In the Sail Operator e2e test suite, we use manifests that pull images like sleep, helloworld, sample, httpbin etc from Docker Hub. Occasionally, test cases fail due to Docker Hub's rate-limiting restrictions, leading to false test failures.

toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Operator Version

latest

Link to Gist with Logs

No response

Additional Information

No response

@sridhargaddam sridhargaddam added the bug Something isn't working label Jan 20, 2025
@jwendell
Copy link
Collaborator

Maybe we can make use of some ENV variables that use docker hub alternatives/mirrors…
istio/tools#3111
openshift/release#60642

@FilipB
Copy link
Collaborator

FilipB commented Jan 20, 2025

Another option is to configure your OCP:

apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
  name: docker-images-from-gcr
spec:
  imageDigestMirrors:
  - mirrors:
    - mirror.gcr.io
    source: docker.io
    mirrorSourcePolicy: NeverContactSource
---
apiVersion: config.openshift.io/v1
kind: ImageTagMirrorSet
metadata:
  name: docker-images-from-gcr
spec:
  imageTagMirrors:
  - mirrors:
    - mirror.gcr.io
    source: docker.io
    mirrorSourcePolicy: NeverContactSource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants