From bd37d99d167cfd7499a33c97eaaa04688a1a25b6 Mon Sep 17 00:00:00 2001 From: balchua Date: Sat, 9 Sep 2023 09:36:35 +0800 Subject: [PATCH] increase roll out status timeout --- src/status.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status.ts b/src/status.ts index c2f8a5e..aabe1cd 100644 --- a/src/status.ts +++ b/src/status.ts @@ -32,13 +32,13 @@ export function verbosewaitForRegistryPvClaim(addon: string) { function waitForStorageToBeReady(isSilent: boolean, addon: string) { if (addon === "hostpath-storage") { sh.echo('Waiting for hostpath-storage to be ready '); - util.executeCommand(isSilent, "sudo microk8s kubectl rollout status deployment/hostpath-provisioner -n kube-system --timeout=90s") + util.executeCommand(isSilent, "sudo microk8s kubectl rollout status deployment/hostpath-provisioner -n kube-system --timeout=120s") } } function waitForRegistryPvClaim(isSilent: boolean, addon: string) { if (addon === "registry") { sh.echo('Waiting for registry volume to be bound'); - util.executeCommand(isSilent, "sudo microk8s kubectl wait --for=jsonpath='{.status.phase}'=Bound pvc/registry-claim -n container-registry --timeout=90s") + util.executeCommand(isSilent, "sudo microk8s kubectl wait --for=jsonpath='{.status.phase}'=Bound pvc/registry-claim -n container-registry --timeout=120s") } } \ No newline at end of file