Skip to content

Commit

Permalink
bug: add timeout to kubectl wait for service ip (#933)
Browse files Browse the repository at this point in the history
/kind bug
/area ci

* add timeout to kubectl wait for service ip. By default, it's 30 seconds which seems to be not enough.
  • Loading branch information
Ressetkk authored Jul 15, 2024
1 parent e7356be commit 010d41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/performance/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 010d41c

Please sign in to comment.