-
Notifications
You must be signed in to change notification settings - Fork 17
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
Any suggestion on a local OCI proxy in orchard cluster #171
Comments
Right now we struggle with the same issue. When an update takes a little while to download. In our case we use a hosted registry which can handle parallel downloads from a lot of hosts without performance degradation but it's still not 10Gb/s. We plan to address it at some point in the future but at the moment it's not the highest priority. I think your idea with a local proxy will work for 4 workers but won't scale beyond 10 when network to the single proxy will become a bottleneck. |
now: N multiple workers -> gateway -> remote registry |
On that note, many years ago we used Anka with their local registry and it didn't scale beyond 10. I've created cirruslabs/tart#814 to investigate incremental pulls. PTAL if you have the same scenario and maybe we'll be able to improve this scenario without a local proxy. |
You can run zot registry locally and keep it synced up against another upstream instance.. while it proxies to other registries. There’s a few examples of configuring it to be a caching oci registry in their docs. You’ll probably want to tuck the registry behind haproxy or something similar, don’t let clients directly reach out to the oci registries |
This is not directly related to Orchard itself. But I assume you guys have similar consideration already and probably have some best practice. So allow me to ask here to get some suggestion.
I have set up four mac studio as a Orchard cluster in my local high bandwidth network, But all my images are hosted in a remote JFrog based OCI registry. Whenever each worker needs a new image, they all pull from the remote, which is slow and unnecessary.
I want to setup a local pass through proxy which simply cache the remote OCI content, and point all my orchard workers to it.
Since the proxy is local, and all workers are 10Gb/s ethernet enabled. This should save a lot network data request to the remote and way faster when new image published.
If you guys have something work as so, please share some ideas. Thanks!
The text was updated successfully, but these errors were encountered: