Open Curtisjk opened 7 months ago
Happening to me as well from time to time using gcr.io/kaniko-project/executor:v1.23.2-debug
.
Multi-stage Dockerfile which results in some large layers. Failing to upload to GitLab registry with Harbor as a mirror.
Actual behavior As part of my dockerfile I am attempting to copy a directory from another image as follows:
However, this results in the following error:
This image does contain large layers (one is about 450MB) so I suspect that there is some issue with downloading the image, and it is silently failing.
When attempting to download the same image using docker itself, it results in a few retries to download some layers, but does eventually succeed after about 3 retries:
Our registry is a privately hosted Harbor instance.
Expected behavior Better logging around why this occurred - is it related to failure to download the image?
Can Kaniko attempt to retry to download the layer like docker does?
I have verified that this works with smaller images to rule out any other registry issues (proxy/auth/etc.)
To Reproduce NA
Additional Information
Dockerfile Please provide either the Dockerfile you're trying to build or one that can reproduce this error.
Build Context Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands) NA
Kaniko Image (fully qualified with digest)
gcr.io/kaniko-project/executor:v1.22.0-debug
Triage Notes for the Maintainers
--cache
flag