Skip to content

Commit

Permalink
try to describe the pods for imagepullbackoff
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaya-a committed Mar 24, 2024
1 parent 8408946 commit cabe72b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@ jobs:
sleep 60
kubectl get pods
sleep 60
kubectl describe pod "$(kubectl get pod -l app.kubernetes.io/name=deployments --no-headers -o name|cut -d/ -f2|head -1)"
kubectl describe pod "$(kubectl get pod -l app.kubernetes.io/name=tracking --no-headers -o name|cut -d/ -f2|head -1)"
kubectl describe pod "$(kubectl get pod -l app.kubernetes.io/name=multiserver --no-headers -o name|cut -d/ -f2|head -1)"
echo "logs below"
docker exec k3d-k3s-default-server-0 sh -c 'for file in $(find /var/log/pods -type f -name "*.log" | grep -i multiserver); do echo "$file"; cat "$file"; done'

0 comments on commit cabe72b

Please sign in to comment.