Skip to content

Increase prepull image timeout #973

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gce-pd-driver: require-GCE_PD_CSI_STAGING_VERSION
go build -mod=vendor -gcflags=$(GCFLAGS) -ldflags "-X main.version=$(STAGINGVERSION)" -o bin/${DRIVERBINARY} ./cmd/gce-pd-csi-driver/

gce-pd-driver-windows: require-GCE_PD_CSI_STAGING_VERSION
ifeq (GOARCH, amd64)
ifeq (${GOARCH}, amd64)
mkdir -p bin
GOOS=windows go build -mod=vendor -ldflags -X=main.version=$(STAGINGVERSION) -o bin/${DRIVERWINDOWSBINARY} ./cmd/gce-pd-csi-driver/
else
Expand Down
4 changes: 2 additions & 2 deletions test/k8s-integration/prepull-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ readonly prepull_daemonset=prepull-test-containers

wait_on_prepull()
{
# Wait up to 15 minutes for the test images to be pulled onto the nodes.
retries=90
# Wait up to 30 minutes for the test images to be pulled onto the nodes.
retries=180
while [[ $retries -ge 0 ]];do
ready=$(kubectl get daemonset "${prepull_daemonset}" -o jsonpath="{.status.numberReady}")
required=$(kubectl get daemonset "${prepull_daemonset}" -o jsonpath="{.status.desiredNumberScheduled}")
Expand Down