Skip to content

Commit

Permalink
wait for the openebs deployment to be ready when installing (#4849)
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Sep 28, 2023
1 parent 7ce0ce9 commit 881dc2e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/openebs/3.8.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ function openebs_apply_operator() {
logStep "Waiting for OpenEBS CustomResourceDefinitions to be ready"
spinner_until 120 kubernetes_resource_exists default crd blockdevices.openebs.io

logStep "Waiting for the OpenEBS Operator to be ready"
spinner_until 300 deployment_fully_updated openebs openebs-localpv-provisioner

openebs_cleanup_kubesystem
logSuccess "OpenEBS CustomResourceDefinitions are ready"
}
Expand Down
3 changes: 3 additions & 0 deletions addons/openebs/3.9.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ function openebs_apply_operator() {
logStep "Waiting for OpenEBS CustomResourceDefinitions to be ready"
spinner_until 120 kubernetes_resource_exists default crd blockdevices.openebs.io

logStep "Waiting for the OpenEBS Operator to be ready"
spinner_until 300 deployment_fully_updated openebs openebs-localpv-provisioner

openebs_cleanup_kubesystem
logSuccess "OpenEBS CustomResourceDefinitions are ready"
}
Expand Down
3 changes: 3 additions & 0 deletions addons/openebs/template/base/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ function openebs_apply_operator() {
logStep "Waiting for OpenEBS CustomResourceDefinitions to be ready"
spinner_until 120 kubernetes_resource_exists default crd blockdevices.openebs.io

logStep "Waiting for the OpenEBS Operator to be ready"
spinner_until 300 deployment_fully_updated openebs openebs-localpv-provisioner

openebs_cleanup_kubesystem
logSuccess "OpenEBS CustomResourceDefinitions are ready"
}
Expand Down

0 comments on commit 881dc2e

Please sign in to comment.