From 38378c2df6c077fbb81b478c57cb3468abcd5f70 Mon Sep 17 00:00:00 2001 From: Liyi Huang Date: Mon, 24 Jun 2024 14:12:10 -0600 Subject: [PATCH] bump timeout wait for cilium pods (#41) --- scripts/provisioner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/provisioner.sh b/scripts/provisioner.sh index f75edb2..85eed0a 100755 --- a/scripts/provisioner.sh +++ b/scripts/provisioner.sh @@ -138,7 +138,7 @@ fi if [[ "${DISABLE_KUBE_PROXY}" == "true" ]]; then kubectl -n "${KUBE_PROXY_NAMESPACE}" delete daemonset kube-proxy || true kubectl -n "${KUBE_PROXY_NAMESPACE}" delete cm kube-proxy || true - kubectl wait --for=condition=Ready pod -l k8s-app=cilium -n "${CILIUM_NAMESPACE}" + kubectl wait --timeout=300s --for=condition=Ready pod -l k8s-app=cilium -n "${CILIUM_NAMESPACE}" pods=$(kubectl get pods -l k8s-app=cilium -o name -n "${CILIUM_NAMESPACE}") if [ -n "$pods" ]; then while IFS= read -r pod; do