Can a single query call function to get repo names and digest images?

Solution Unverified - Updated -

Environment

OpenShift 3.11

Issue

Single query capability is needed to contact the server to retrieve a list of the repo names and digests docker images, not simultaneously.

Example: A single query is launched and makes 982 excessive call functions and inventories 20590 images needed. The query call function count should be minimized (instead of 982 calls) to retrieve the repo names/images This would make the process much faster for deployments. (i.e. a total of "2" query calls could be made to retrieve and inventory over 26000 repo names/images).

Resolution

Target Release: OpenShift 4.2 (with Quay 3.x embedded)

In the interim, users can use Quay Enterprise 3.1.0 Repo Mirroring options:

  1. Mirror repositories or namespaces:
    https://jira.coreos.com/browse/PROD-878

  2. Quay-3.1.0 Repository Mirroring:
    https://jira.coreos.com/browse/QUAY-1137

The script uses skopeo to look through all of the images and copy them over.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.