mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-02 09:24:35 +00:00
CI: describe pod on k8s-create-pod wait failure
This is generally useful debug output on test failures, and specifically this has been useful for nydus-related issues recently. Signed-off-by: Chris Porter <porter@ibm.com>
This commit is contained in:
@@ -57,6 +57,7 @@ k8s_create_pod() {
|
|||||||
# TODO: run this command for debugging. Maybe it should be
|
# TODO: run this command for debugging. Maybe it should be
|
||||||
# guarded by DEBUG=true?
|
# guarded by DEBUG=true?
|
||||||
kubectl get pods "$pod_name"
|
kubectl get pods "$pod_name"
|
||||||
|
kubectl describe pod "$pod_name"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user