Skip to content
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

Harbor support #81

Open
roldancer opened this issue Mar 2, 2021 · 4 comments
Open

Harbor support #81

roldancer opened this issue Mar 2, 2021 · 4 comments

Comments

@roldancer
Copy link

Hi, First of all ... excellent project !!!!

I would like to know if there is any experience using this projects as a docker proxy for Harbor 2.X ? can anyone provide me any kind of experience , best practices etc.

Many thanks.

@brizjin
Copy link

brizjin commented Jul 14, 2021

have the same question. how to auth proxy to harbor

@hishamanver
Copy link
Contributor

Hi there, is this harbor cloud or on prem?

With our on prem setup we just create read only robot account which we then configure using the REGISTRIES and AUTH_REGISTRIES vars, i suspect cloud should be similar but I cannot confirm.

The only tweak we required was to add http2 support, which is covered in #102

@rpardini
Copy link
Owner

rpardini commented Aug 4, 2021

I'm very interested why one would want to run this in front of Harbor...

@flippy1345
Copy link

flippy1345 commented Nov 24, 2022

To give inside as to why this could be wanted:
For us we want to ease the traffic to the registry/harbor by having in kubernetes a per node proxy with caching enabled and having the service set to local traffic to prevent request from unnecessarily going to other nodes.

This Cluster is used for running gitlab pipeline jobs.
Those jobs cause daily 2 TB of traffic, which is too much for gitlab ce or minio and probably harbor.

The described setup works as intended, for our docker registry mirror, only harbor auth is not so happy with the proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants