mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +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
|
||||
# guarded by DEBUG=true?
|
||||
kubectl get pods "$pod_name"
|
||||
kubectl describe pod "$pod_name"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user