fix: Avoid timeouts when pushing to a registry - #511
dragosgheorghioiu wants to merge 1 commit into
Conversation
|
馃 what kind of ref? This does feel odd to me, See https://github.com/containerd/containerd/blob/574a60700ee870807a052e2a0d0c7eed08b7ce8f/core/remotes/docker/registry.go#L254-L269, for the containerd default transport... which defaults to 30s. |
craciunoiuc
left a comment
There was a problem hiding this comment.
Just one more important comment
Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
bfceb68 to
1f282fa
Compare
For a 2.5G image pushed to harbor: You get this |
unikraft image build --output <ref>fails when pushing a large rootfs: a ~2 GB blob PUT dies 30s in.This adds a dedicated HTTP client for container-registry traffic with no response-header timeout, so a registry may take as long as it needs to commit a large blob.