Quay registry design
1. Introduction and Goals
This HLD describes the proposed Red Hat Quay service, contributing to the Registry capability. The problem is to distribute known platform and workload artifacts through controlled paths without coupling every cluster to unrestricted public registries. The design seeks understandable access boundaries, local consumption and recoverable content—not an assertion that those properties already exist.
Platform architecture/operations, application delivery, security, storage, network and service-management roles have different interests in this design. Their accountable representatives remain to be identified. Versions, numeric service objectives and implementation dates are unset.
2. Constraints
The initial proposal uses the pinned historical source ledger. S5 records Quay selection; S6 records restricted-network Phase 1 for 1H2026; S7 records a single-active transition. These are historical decision claims whose present applicability needs confirmation, not newly accepted constraints.
The 2026-10-03 mirroring research and 2026-10-05 runtime-boundary research add public Quay 3.18 documentation evidence. They establish product constraints to validate against the eventual release and configuration, not deployment or support acceptance.
For this proposal, tenant publishing must not expose the platform-facing service; cross-boundary copies must have defined scope; trust decisions stay outside the registry; and recovery must cover configuration, metadata and blobs. Current security-policy applicability remains unassessed. Air-gapped operation, restricted host/account details and implementation manifests are outside this increment.
3. Context and Scope
| Neighbour or consumer | Proposed interaction and boundary |
|---|---|
| Upstream registries | Seed intake from explicitly permitted sources using scoped credentials and controlled egress. |
| Fleet governance, including historical ACM role | Supplies cluster lifecycle and policy intent; registry distributes content but does not replace governance. |
| Managed clusters | Platform-content digest pulls from their locality platform tier; workload pulls from tenant-facing tier. |
| Tenant pipelines | Authorized workload pushes and promotion into tenant repositories, not platform import repositories. |
| Release/admission tooling | Evaluates artifact trust and consumes evidence; products and gate policy remain unresolved. |
| Identity/network/storage/operations services | Supply authentication, endpoints, durable state, telemetry and recovery contracts. |
The system includes registry applications, proposed scan/copy functions and their state interfaces. It excludes application builds, business release authorization and a general metadata catalogue. Tenant workloads need not gain access to the platform tier simply because their clusters also consume platform lifecycle content.
4. Solution Strategy
The 2026-10-12 Quay Phase 1 agreement selects two platform-only instances, one per datacenter, with base installation, engineer/cluster access, OpenShift installer/Operator/marketplace sync and image scanning. The global seed tier and a separate tenant-facing Quay deployment on CLaaS are stretch goals, not Phase 1 prerequisites. The broader topology below remains design context for those extensions, not a requirement to deliver all three roles in Phase 1.
Propose three distinct roles: a curated seed intake tier, a platform-facing distribution tier per available datacenter locality, and a separate shared tenant-facing tier per available locality. This limits the normal audience of each endpoint and lets already-present local content be consumed during an intake or inter-locality interruption, subject to healthy local dependencies.
The trade-off is additional instances, state, copies and operational effort. Organizations alone might offer a simpler single-service design, but do not by themselves prove the required platform/tenant network boundary. Confirm that separate services are necessary and affordable before treating this proposal as the accepted topology; see Q2.
Cross-locality distribution is selective content copying, not automatic Quay geo-replication or service failover. A tenant gets an organization/repository contract in a shared service, not an automatic dedicated Quay instance. Dedicated instances and geo-replication would require distinct consequential decisions.
5. Building Block View
| Internal role | Responsibility | Excluded responsibility |
|---|---|---|
| Seed intake | Curate upstream platform images, operator/catalog content and registry dependencies; hold explicit copy scope and origin evidence. | General tenant publishing or automatic trust approval. |
| Local platform distribution | Hold the platform subset needed for local cluster lifecycle and bootstrap/recovery plans. | Tenant CI publishing or duplicating every upstream repository. |
| Local shared tenant service | Host tenant workloads/OCI artifacts and selected tenant locality copies. | Default duplication of the platform mirror catalogue. |
| Quay application and Operator | Serve registry/administration interfaces and reconcile supported components. | Automatic resilience of external dependencies. |
| Copy and scan functions | Execute selected transfers and expose vulnerability visibility where release support is established. | Guaranteed transfer of all referrers or deployment admission. |
| State services | Registry PostgreSQL metadata, separate Clair database state, S3-compatible blobs and Redis runtime dependency. | A topology or recovery guarantee inferred from component names. |
This internal view is not a set of additional ABB/SBB notes. Exact component management and availability layout depend on the selected release. The examined documentation requires separate Quay and Clair database instances and excludes sharing with other workloads or using pgBouncer; see the dependency evidence.
6. Runtime View
Supply intake and local platform delivery
An intake-authorizing role identifies source, repository/content set, digest or tag selection, required evidence and retention intent. Seed automation retrieves that content through permitted egress and records success/failure and origin. Local distribution then copies the needed subset and verifies manifests and digest retrieval before cluster mirror configuration is relied upon. Operator catalogues and release payloads need content-set validation, not just a successful copy of one image. The chosen copy tool and Quay feature coverage are unresolved.
If upstream or seed intake fails, existing local content may remain usable. Missing content and updates remain unavailable; freshness alerts must distinguish this from complete readiness. A seed failure must not silently enable public fallback. Bootstrap and emergency fallback need an explicit authorization path. That path must remain usable without the registry or platform being recovered. Enumerate the images, tools, configuration and credential access needed before Quay and its dependencies can start; prove cold recovery without relying on a warm node cache or implicit public-registry access.
Tenant publishing and promotion
A scoped publishing identity pushes a workload artifact into its tenant repository. Release tooling evaluates the required origin, findings and trust evidence before promoting a digest for deployment. Admission tooling must enforce the agreed gate independently of a successful registry push or a visible Clair result. Products and fail-open/fail-closed behavior remain decisions to make.
If another locality needs the release, copy only the selected content set and associated evidence, then verify it at the destination. Do not infer signature, SBOM or OCI referrer transfer from successful image copying. Tag movement, deletion, retry and partial-copy behavior need a defined contract. Workload deployments reference the verified digest; promotion must not race ahead of required copies.
The artifact-mirroring investigation provides a version-bounded evidence basis for this requirement. Its Quay 3.18.0 documentation baseline explicitly excludes OCI Referrers API artifacts from organization mirroring and describes different deletion semantics between native mirror modes. Repository-mirror coverage and complete-set acceptance remain unestablished. This supports retaining destination verification; it does not select a release, mirror mode or supplemental copying tool for this design.
Choose the destination's ownership with that copy mode. Native mirror-managed repositories or organizations constrain ordinary writes; do not treat them as general tenant-publishing destinations. Any supplemental evidence transfer must have a supported writer and destination/discovery path that respects mirror ownership. A second copy job is not sufficient evidence of that compatibility.
Digest pulling, failures and recovery
A consumer authenticates to the intended endpoint and retrieves the requested manifest and blobs by digest. Cluster mirror resources and credential delivery must be tested against the selected OpenShift release. Endpoint routing is not tenant authorization; pull permissions must be tested separately. Exercise an unprivileged tenant workload on a platform-authorized node, including effective node/Pod pull credentials, admission/image-source rules and cached images. Pod network isolation alone does not establish the image-access boundary.
Blob retrieval may involve direct object-storage download URLs. Establish client
reachability and TLS for the actual storage path, or validate supported proxying
through Quay and its capacity cost. The documented FEATURE_PROXY_STORAGE option
defaults to false; a working registry endpoint alone does not prove blob access.
See blob-delivery evidence.
Failure of a local database, object API or runtime dependency can interrupt the service even if application replicas remain running. Loss of inter-locality connectivity permits pulls of complete local content only while the full serving and authentication path remains available; copying stalls. Dependency placement, DNS/TLS, token renewal and the blob endpoint are part of this availability claim. There is no designed automatic switch to another locality, no promised zero data loss and no proof of write continuity. Recovery restores a consistent config, metadata and blob set, reconciles credentials/access and verifies representative digest pulls before reopening publishing. Copy jobs are not a substitute for that restore process; destructive changes could propagate to other copies. Restoring pulls and restoring required trust evidence are separate milestones. If Clair state is rebuilt, scan reports remain unavailable until rescanning; promotion/admission must apply the agreed missing-evidence policy during that gap.
7. Deployment View
The target proposal places the seed in a fleet-governed platform environment and platform/tenant services on platform-managed OpenShift capacity per available datacenter locality. Each audience needs distinct endpoint exposure and scoped credentials. Separate application instances must also have explicitly scoped metadata and blob stores; shared physical dependencies can still create correlated failure domains. Placement, replicas, namespaces and ingress products are unset. Document which serving/authentication dependencies cross locality boundaries and which bootstrap sources survive loss of the hosting platform.
S1/S4 describe a target in both localities. S7 and S5 instead describe transitional Datacenter Services in Location B only, with Location A limited to the AI lane, not Quay/Datacenter Services there. This HLD retains that target-versus-rollout distinction: it does not claim an active dual-site service or that the transition has completed. The 2026-10-12 agreement now includes the second datacenter in Quay's Phase 1 scope; hosting and service-readiness evidence remain required. The historical Location B-only transition is not the current Quay scope authority.
S8/S9 select dedicated Ceph through external ODF in their historical scopes. That selection does not identify or prove the exact S3 endpoint/API supported by Quay. Determine the object-service implementation and supported integration, including credential/TLS behavior and consistency/recovery semantics. A block volume is not itself an S3 interface. PostgreSQL and Redis topology, support and failure behavior also require independent validation; naming them does not establish HA. Operator-managed bucket provisioning likewise does not establish storage HA: the documented standalone object-gateway/PV option has a single gateway. Distinguish that option from the historical external-ODF proposal rather than treating either product label as proof of the required object-service properties.
8. Crosscutting Concepts
Identity and transport: propose OIDC human login, scoped teams/repositories and separate publishing, mirroring and pull-only robots. Validate membership revocation, default visibility and elevated access, including tenant workloads using shared nodes. Quay 3.18 documents one-hour federated robot tokens, but also an audience persistence/validation limitation in its API/UI provisioning path. Confirm the required issuer, subject, audience, renewal and revocation contract before choosing federation; human OIDC login does not establish robot authentication or authorization. Use HTTPS for client paths and establish backend TLS and encryption-at-rest requirements with dependency/security owners; no integration is proven here.
Trust and lifecycle: require digest identity and explicit release evidence. Scanning provides findings with coverage/freshness limits, not approval. Retention, tag mutability, deletion propagation and garbage collection must protect deployed references and evidence without promising indefinite storage.
Operations and recovery: observe registry API health, dependency errors, copy backlog/freshness, scan-feed freshness, capacity and certificate expiry. Define evidence retention and alert handling. Coordinate configuration, metadata and blob backups, including the QuayRegistry resource, config bundle and generated keys; the Operator does not supply database backups. Establish consistency, quiescence of all writers (Quay, mirror and Clair workers, including autoscaling) and dependency restore order, or validate an applicable supported backup procedure. Disabling client pushes alone does not prove quiescence. Include scan-feed/report recovery and audit retention in the recovery contract.
Revalidate access, copying and pull behavior after upgrades. Do not promise rollback by reverting an image or Operator channel: the examined documentation rules out y-stream downgrades and qualifies z-stream support. Establish the supported recovery path and preserve its required pre-upgrade state with vendor confirmation; see upgrade evidence. No recovery target is yet agreed.
9. Architectural Decisions
Historical inventory and validity gaps are recorded in the review register. S5's product mapping, S6's connectivity choice, S7's transition and S8/S9's storage selections are inputs, not accepted new ADRs for this draft.
Locally proposed choices are tier separation, shared tenant services per locality, selective copies rather than geo-replication, Operator-managed hosting and external trust enforcement. Their rationale is explicit above, but topology authority, release baseline, storage integration and recovery objectives remain undecided. Simple evidence/citation corrections need no new ADR. A consequential unresolved choice should lead to a proposed ADR and human decision, not an agent acceptance label.
10. Quality Requirements
| Scenario | Evidence needed | Target status |
|---|---|---|
| Upstream/inter-locality link unavailable | Pull complete local digests with cold clients/caches and credential renewal; verify all serving/authentication dependencies and blob URLs; report blocked updates/copies without unintended fallback. | Dependency placement, content set and tolerated freshness unset. |
| Unauthorized tenant attempts platform access | Test push/pull denials and a tenant workload on a platform-authorized node, using effective credentials and cold/warm caches. | Access matrix, image-source/admission policy and denial contract to agree. |
| Registry/hosting platform requires cold recovery | Start from authorized independent images, tools, configuration and credential access; restore in dependency order without the failed registry or warm caches. | Bootstrap source, ownership and recovery objectives unset. |
| Database/object dependency fails | Restore coherent metadata/blobs/config/keys; verify digests, permissions and resumed copies; test the scan-report gap and its trust policy. | Availability, RTO, RPO and scan-evidence recovery target unset. |
| Promoted image copied to another locality | Verify required signatures/referrers/evidence through supported writers and destinations, including mirror ownership, partial failure and deletion. | Artifact coverage and completion deadline unset. |
| Release or Operator upgraded under load | Exercise pulls/pushes, copying and IAM; measure latency/errors and demonstrate the supported recovery path with compatible pre-upgrade state. | Supported recovery procedure, load profile and outage budget unset. |
These are proposed acceptance scenarios, not test results. Numeric targets must come from consumer/service needs rather than fabricated values.
11. Risks and Technical Debt
The largest risks are an unsupported release/storage combination; content copied without required trust evidence; permission leakage in shared tenant services; and a two-locality target mistaken for resilient infrastructure. Stale decision scope and incomplete service ownership can conceal those risks behind historical status labels. Additional tiers also multiply upgrade and restore obligations.
The immediate response is the bounded question register, not more confident wording. The initial draft on 2026-10-02 included no vendor research. The 2026-10-03 artifact-mirroring investigation and 2026-10-05 runtime-boundary review add bounded vendor-documentation evidence; live-system, SAK applicability and performance verification remain unperformed. LLDs, runbooks and deployment evidence remain absent from this slice.
12. Glossary
| Term | Meaning in this proposal |
|---|---|
| OCI | Open Container Initiative; the image/artifact distribution scope used here. |
| Digest | Content-derived identifier used to select and verify a manifest/artifact. |
| Referrer | Artifact associated with a subject digest, potentially carrying signatures, SBOMs or other evidence. |
| Seed | Curated upstream intake role, not the normal tenant endpoint. |
| Locality | Datacenter placement/failure boundary to establish, not proof of site independence. |
| DCS | Datacenter Services; historical platform-service context. |
| ACM | Advanced Cluster Management; historical fleet-governance context. |
| Robot | Non-human registry identity with a defined repository permission scope. |
| RTO / RPO | Recovery time / recovery point objectives; neither is agreed here. |
Explore this note’s relationships 7 connected notes
Connections are authored references and declared relationships, not verified runtime dependencies or approval.
No notes match these filters. Reset filters to show the whole graph.
Drag to pan. Use arrow keys to pan, + / − to zoom, and 0 to fit. Select notes or relationships in the list below for a keyboard alternative.
Every note and relationship is available in the list below. The interactive map requires JavaScript.
Notes and relationships Accessible list
Notes (8)
- Intent, delivery and runtime evidenceNote · draft · Automation. Icon: Automation
- RegistryNote · draft · Registry. Icon: Registry
- Quay registry designHLD · draft · Registry. Icon: Registry
- Red Hat Quay service proposalSBB · draft · Registry. Icon: Registry
- Registry capabilityABB · draft · Registry. Icon: Registry
- Quay artifact mirroring and evidence preservationResearch · draft · Registry. Icon: Registry
- Quay runtime dependencies, access and recoveryResearch · draft · Registry. Icon: Registry
- Registry review questionsNote · draft · Registry. Icon: Registry
Relationships (13)
- Intent, delivery and runtime evidenceReferences →Quay registry designAutomation/intent-to-runtime.md · Markdown link
- Quay registry designReferences →Red Hat Quay service proposalRegistry/quay-design.md · Markdown link
- Quay registry designReferences →Quay artifact mirroring and evidence preservationRegistry/quay-design.md · Markdown link
- Quay registry designReferences →Quay runtime dependencies, access and recoveryRegistry/quay-design.md · Markdown link
- Red Hat Quay service proposalReferences →Quay registry designRegistry/red-hat-quay.md · Markdown link
- Quay artifact mirroring and evidence preservationReferences →Quay registry designRegistry/research-artifact-mirroring.md · Markdown link
- Quay runtime dependencies, access and recoveryReferences →Quay registry designRegistry/research-runtime-boundaries.md · Markdown link
- Registry review questionsReferences →Quay registry designRegistry/review-questions.md · Markdown link