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

Does harbor have a plan to support replicate action which trigger by docker pull using pull mode? #14736

Open
yunkunrao opened this issue Apr 23, 2021 · 4 comments
Assignees
Labels
kind/requirement New feature or idea on top of harbor

Comments

@yunkunrao
Copy link
Contributor

yunkunrao commented Apr 23, 2021

Background
Currently when one harbor cluster wants to sync with other harbor. In our case we create a replication rule with pull mode enabled. Admin had to sync image manually by clicking on replicate button. And it's a tedious task.

Describe the solution you'd like
When user executed cmd "docker pull XXX", and harbor didn't sync the image yet or the images is not latest, it will automatically pull from the other harbor. And it behaves much like proxy cache anyway.

@yunkunrao
Copy link
Contributor Author

yunkunrao commented Apr 23, 2021

help wanted

@wy65701436
Copy link
Contributor

Can you clarify the scenario? It seems that proxy cache can handle it?

@yunkunrao
Copy link
Contributor Author

yunkunrao commented Apr 24, 2021

Yeah, currently proxy cache seems to be able to handle this scenario, but the prerequisite is that docker client must change image name accordingly. For example, original image name is demo-pro/redis:latest and user must add the prefix "proxy/" i.e. "proxy/demo-pro/redis:latest". In other words, we want to a solution which is transparent to docker client or k8s.

@github-actions
Copy link

github-actions bot commented Jul 6, 2022

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.

@github-actions github-actions bot added the Stale label Jul 6, 2022
@stonezdj stonezdj removed the Stale label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

5 participants