Skip to content

Commit

Permalink
debug: kubectl describe pods
Browse files Browse the repository at this point in the history
The fluence pod is pending and it is not clear why.
The issue does not reproduce locally so I need to debug
it entirely in the CI

Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Sep 11, 2024
1 parent cfdd84a commit 67ac263
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function check_output {

# Pods should be completed
kubectl get pods
kubectl describe pods

# Get output (and show)
default_output=$(kubectl logs ${default_job_pod})
Expand Down Expand Up @@ -99,4 +100,4 @@ check_output 'reported-by-fluence' "${reported_by}" "fluence"
# And the second should be the default scheduler, but reportingComponent is empty and we see the
# result in the source -> component
reported_by=$(kubectl events --for pod/${default_job_pod} -o json | jq -c '[ .items[] | select( .reason | contains("Scheduled")) ]' | jq -r .[0].source.component)
check_output 'reported-by-default' "${reported_by}" "default-scheduler"
check_output 'reported-by-default' "${reported_by}" "default-scheduler"

0 comments on commit 67ac263

Please sign in to comment.