-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Set resolver to pull the image from next registry #4575
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
Conversation
… error code. Signed-off-by: Teemu Kallio <teemu.kallio@pm.me>
|
Hi @teemuteemu. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Build succeeded.
|
|
/ok-to-test |
|
More error handling logic needs to be done here to if expanding the status code which are handled. The logic of the for loop assumes that |
|
I see, I'll take a better look at the error handling. |
|
@teemuteemu any news ? |
|
@teemuteemu @dmcgowan How about something like: |
We run this patch in production for a few weeks now and it works great without any issues. We run Kraken as a p2p caching layer for image pulls within clusters that sometimes has some hiccups. This patch allows a much more reliant failover in these cases to directly contact our internal registry. @teemuteemu Can you include the error handling changes in your PR? I would love to see this change in upstream containerd and stop maintaining the patch for new releases. |
|
@mariuskiessling Maybe you should create a new PR since @teemuteemu doesn't seem to be responding. And you have proof of it working :-) |
|
agreed, closing in favor of #5275 |
Fixes #4531, and likely containerd/cri#1419 (comment) is related as well.
Seems like retry currently works only for 404. Not sure if this is the best way to fix it but I tried to follow previous discussions (#3850 & #3868) and understood that retry always on error would be the way to go.
Let me know what you think.