From c587481749c49ce38a5307baf197798345ba155d Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Thu, 21 Sep 2017 15:51:46 +0000 Subject: [PATCH] gate: increase pod start timeout Change-Id: I141c9ead88f97228942e939fda25fba73571f597 --- tools/kubeadm-aio/kubeadm-aio-launcher.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/kubeadm-aio/kubeadm-aio-launcher.sh b/tools/kubeadm-aio/kubeadm-aio-launcher.sh index 18d1f56e79..77c80025ff 100755 --- a/tools/kubeadm-aio/kubeadm-aio-launcher.sh +++ b/tools/kubeadm-aio/kubeadm-aio-launcher.sh @@ -68,7 +68,7 @@ sudo docker run \ echo "Waiting for kubeconfig" set +x -end=$(($(date +%s) + 240)) +end=$(($(date +%s) + 480)) READY="False" while true; do if [ -f ${HOME}/.kubeadm-aio/admin.conf ]; then @@ -89,7 +89,7 @@ export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf echo "Waiting for node to be ready before continuing" set +x -end=$(($(date +%s) + 240)) +end=$(($(date +%s) + 480)) READY="False" while true; do READY=$(kubectl get nodes --no-headers=true | awk "{ print \$2 }" | head -1) @@ -103,7 +103,7 @@ done set -x # Waiting for kube-system pods to be ready before continuing -sudo docker exec kubeadm-aio wait-for-kube-pods kube-system +sudo docker exec kubeadm-aio wait-for-kube-pods kube-system 480 # Initialize Helm helm init