-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
I'm currently running tektoncd pipelines that contains task: https://github.com/tektoncd/catalog/blob/main/task/buildkit-daemonless/0.1/buildkit-daemonless.yaml which builds images inside the container with buildkit. When pushing to harbor i've only been able to push larger images (~1.2Gb) in around 2/20 attempts. Images around 25Mb are built and pushed almost instantly.
I run into the same issue when using the deployment and service example: https://github.com/moby/buildkit/blob/master/examples/kubernetes/deployment%2Bservice.rootless.yaml
time="2022-11-30T10:07:35Z" level=debug msg="stopping session" spanID=xxxxxxxxxx traceID=xxxxxxxx
#17 ERROR: failed to push harbor.xxx.xxx.xxxx/scipy:4bd9b68: failed to copy: io: read/write on closed pipe
or
#10 exporting to image
#10 1008.1 error: failed commit on ref
read tcp xxx.xxxx->x.xxxx:443: read: connection reset by peer
Point to note:
I had no issues building and pushing similar size images to the same harbor registry when using docker in docker