BCDevOps / OpenShift4-Migration

Scripts and info for Ministry teams migration from OpenShift 3.11 to 4.x
Apache License 2.0
3 stars 0 forks source link

How can I leverage the new Artifactory service on the OCP 4 Platform to pull images? #10

Closed mitovskaol closed 2 years ago

mitovskaol commented 3 years ago

On November 4th Docker Hub implemented rate limits on the number of pulls from anonymous (100 image pulls) or free (200 image pulls) accounts. As a result, many teams may encounter this limit in the form of this (or similar) error:

Error initializing source docker://node:lts-alpine: Error reading manifest lts-alpine in docker.io/library/node: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

If you encounter this error, you have two options:

1) Setup Artifactory and use it as a pull-through cache.

Your newly minted OCP4 tools namesapce will have your Artifactory username/password hidden in a secret. You can find instructions on what to do with them here

2) Setup your own team credentials as a pull secret and use those.

Find instructions on how to do that here