From 5c9dd1d29287d6cd8ce8494e43afe9a89c406fea Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Sat, 19 Dec 2020 10:24:47 -0600 Subject: [PATCH] Add a really long sleep time to postgis install --- helpers/deploy_postgis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/deploy_postgis.sh b/helpers/deploy_postgis.sh index 8c645e8..552f23f 100755 --- a/helpers/deploy_postgis.sh +++ b/helpers/deploy_postgis.sh @@ -39,7 +39,7 @@ helm upgrade -v 2 --install -f ${values_base}/values-postgis.yaml $EXTRA_ARGS -- # don't fail to communicate with it echo "Start waiting for postgres: $(date +%Y%m%dT%H%M%S)" kubectl -n $ns get pods -sleep 5 +sleep 25 echo "Done sleeping. Making sure the pod(s) are ready. ${release_name}" kubectl -n $ns get pods kubectl wait -n $ns --selector=app.kubernetes.io/instance=${release_name} --timeout 120s --for=condition=Ready pod -- GitLab