From 010d41cefb7563fccab57829a46e68a8a1ecf5f8 Mon Sep 17 00:00:00 2001 From: Kamil Kasperski Date: Mon, 15 Jul 2024 14:41:34 +0200 Subject: [PATCH] bug: add timeout to kubectl wait for service ip (#933) /kind bug /area ci * add timeout to kubectl wait for service ip. By default, it's 30 seconds which seems to be not enough. --- tests/performance/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/performance/Makefile b/tests/performance/Makefile index 27804190c..1e0770e1e 100644 --- a/tests/performance/Makefile +++ b/tests/performance/Makefile @@ -36,7 +36,7 @@ test-performance: deploy-max-replicas-istio deploy-helm test-deploy deploy-max-replicas-istio: kubectl apply -f istio-max-replicas.yaml kubectl wait --for='jsonpath={.status.state}=Ready' --timeout=5m -n kyma-system istio default - kubectl wait -n istio-system --for=jsonpath='{.status.loadBalancer.ingress}' service/istio-ingressgateway + kubectl wait -n istio-system --for=jsonpath='{.status.loadBalancer.ingress}' --timeout=5m service/istio-ingressgateway domain=$(shell kubectl config view -o json | jq '.clusters[0].cluster.server' | sed -e "s/https:\/\/api.//" -e 's/"//g');\ kubectl annotate service -n istio-system istio-ingressgateway "dns.gardener.cloud/dnsnames=*.${domain}" --overwrite