Skip to content

Commit

Permalink
debug log for pod describe
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekr-splunk committed Mar 1, 2024
1 parent fdd1621 commit af10042
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af10042

Please sign in to comment.