Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#156 from pjh/troubleshoot-crashes
Browse files Browse the repository at this point in the history
Describe pods after waiting for prepull
  • Loading branch information
k8s-ci-robot authored Mar 31, 2020
2 parents 3b429a4 + 12afbe9 commit 9054aee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gce/hack-run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ kubectl create -f ${SCRIPT_ROOT}/${PREPULL_FILE}
kubectl wait --for=condition=ready pod -l prepull-test-images=e2e --timeout ${PREPULL_TIMEOUT:-30m}
# Check the status of the pods.
kubectl get pods -o wide
kubectl describe pods
# Delete the pods anyway since pre-pulling is best-effort
kubectl delete -f ${SCRIPT_ROOT}/${PREPULL_FILE}
# Wait a few more minutes for the pod to be cleaned up.
Expand Down
1 change: 1 addition & 0 deletions gce/load-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ kubectl create -f ${SCRIPT_ROOT}/loadtest-prepull.yaml
kubectl wait --for=condition=ready pod -l prepull-test-images=loadtest --timeout ${PREPULL_TIMEOUT:-10m}
# Check the status of the pods.
kubectl get pods -o wide
kubectl describe pods
# Delete the pods anyway since pre-pulling is best-effort
kubectl delete -f ${SCRIPT_ROOT}/loadtest-prepull.yaml
# Wait a few more minutes for the pod to be cleaned up.
Expand Down
1 change: 1 addition & 0 deletions gce/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ kubectl create -f ${SCRIPT_ROOT}/${PREPULL_FILE}
kubectl wait --for=condition=ready pod -l prepull-test-images=e2e --timeout ${PREPULL_TIMEOUT:-30m}
# Check the status of the pods.
kubectl get pods -o wide
kubectl describe pods
# Delete the pods anyway since pre-pulling is best-effort
kubectl delete -f ${SCRIPT_ROOT}/${PREPULL_FILE}
# Wait a few more minutes for the pod to be cleaned up.
Expand Down

0 comments on commit 9054aee

Please sign in to comment.