Skip to content

Commit

Permalink
increase roll out status timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
balchua committed Sep 9, 2023
1 parent f1cde1d commit bd37d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

0 comments on commit bd37d99

Please sign in to comment.