From 1ce09ae5e00a77a135c96a5b686b47129b3bfca1 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Sun, 20 Dec 2020 07:48:29 -0500 Subject: [PATCH] Dump nginx pod status after wait --- spring-cloud-kubernetes-integration-tests/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-cloud-kubernetes-integration-tests/run.sh b/spring-cloud-kubernetes-integration-tests/run.sh index 43817390..129713ab 100755 --- a/spring-cloud-kubernetes-integration-tests/run.sh +++ b/spring-cloud-kubernetes-integration-tests/run.sh @@ -88,7 +88,9 @@ main() { # kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml kubectl apply -fhttps://raw.githubusercontent.com/kubernetes/ingress-nginx/12150e318b972a03fb49d827e6cabb8ef62247ef/deploy/static/provider/kind/deploy.yaml sleep 5 # hold 5 sec so that the pods can be created - kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=720s + kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller --timeout=420s + + kubectl get --namespace ingress-nginx pod --selector=app.kubernetes.io/component=controller -o yaml # This creates the service account, role, and role binding necessary for Spring Cloud k8s apps kubectl apply -f ./permissions.yaml