goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
23.67k stars 4.72k forks source link

Harbor as a cross-cloud global registry for the Kubernetes Project #14411

Open hh opened 3 years ago

hh commented 3 years ago

Is your feature request related to a problem? Please describe.

The #k8s-infra-wg exists within the Kubernetes community to support the infrastructure underlying the project.

Currently the Google donated cloud-credits are largely spent on k8s.gcr.io as the primary registry container artefacts are pulled from there. It's on the order of 50-60% of the total spend.

This cost should be distributed by allowing caches or distributed mirror solutions that can be run locally by kubernetes providers / clouds and picked up by users when deploying Kubernetes and pulling the k8s.io released OCI images.

Describe the solution you'd like

As Harbor is also a CNCF project, I think it would be a great solution, creating a cohesive Cloud Native story for registry.k8s.io as a global image/artefact distribution.

Ideally we have a solution that points to registries hosted at Google, Microsoft, Amazon, and a few others. Possibly using their local cloud specific registries, but having a clear option to deploy Harbor in a best practice and community supported manner.

Describe the main design/architecture of your solution

It's an ongoing discussion, which is evolving but some initial ideas:

Describe the development plan you've considered

I have two engineers at ii.coop (@hh and @bobymcbobs) and an evolving team at Microsoft that are keen to help.

Additional context

Some initial conversations in the various slacks:

@bobymcbobs initial explorations for Possible implementations for registry.k8s.io:

hh commented 3 years ago

Related: Declarative Deployment of Helm - https://github.com/goharbor/harbor-helm/issues/884

dims commented 3 years ago

cc @justaugustus

hh commented 3 years ago

Lot's of good links over here as well: https://github.com/distribution/distribution/issues/3379#issuecomment-799882488

github-actions[bot] commented 2 years ago

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.