From af10042ead6026ac7f9923d4ff76dfb29c9c5550 Mon Sep 17 00:00:00 2001 From: vivekr-splunk Date: Thu, 29 Feb 2024 16:22:06 -0800 Subject: [PATCH] debug log for pod describe --- test/run-tests.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/run-tests.sh b/test/run-tests.sh index 81b18a0cc..a5069cf83 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -87,8 +87,17 @@ if [ "${CLUSTER_WIDE}" == "true" ]; then sleep 2 kubectl wait --for=condition=ready pod -l control-plane=controller-manager --timeout=600s -n splunk-operator if [ $? -ne 0 ]; then - echo "Operator installation not ready..." + echo "kubectl get pods -n kube-system ---" + kubectl get pods -n kube-system + echo "kubectl get deployement ebs-csi-controller -n kube-system ---" + kubectl get deployement ebs-csi-controller -n kube-system + echo "kubectl describe pvc -n splunk-operator ---" + kubectl describe pvc -n splunk-operator + echo "kubectl describe pv ---" + kubectl describe pv + echo "kubectl describe pod -n splunk-operator ---" kubectl describe pod -n splunk-operator + echo "Operator installation not ready..." exit 1 fi fi