imgpkg icon indicating copy to clipboard operation
imgpkg copied to clipboard

Add a limiter for pushing images

Open sa02 opened this issue 2 years ago • 3 comments

In environments where multiple registries exist for the purpose of security with scan and promotion pipelines, imgpkg presents an issue where intermediate pipelines become overloaded due to the inability to properly stage.

Right now, we have a team pushing 300+ images to a pipeline that can handle 50 images at a time.

As a base solution, the ability to add a delay per image push would help significantly, in order to stagger the full deployment. Example below:

imgpkg push $IMAGE -d 10 
# -d = delay 
# 10 = 10 seconds

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible" 👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help work on this issue.

sa02 avatar Nov 06 '23 16:11 sa02

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

github-actions[bot] avatar Dec 17 '23 00:12 github-actions[bot]

@sa02 Apologies for missing this for so many days 😞 If I understand you issue correctly, imgpkg is being used concurrently to push 300+ images to the same registry and the registry can handle only 50 pushes at a time?

praveenrewar avatar Dec 26 '23 12:12 praveenrewar

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

github-actions[bot] avatar Feb 12 '24 00:02 github-actions[bot]