Commit 2b6b08a1 authored by Albert Salim's avatar Albert Salim

Display all pods for the release in `display_deployment_debug`

parent cc602cfa
......@@ -255,9 +255,9 @@ EOF
}
function display_deployment_debug() {
# Get all pods that are not ready (this will return completed pods for minio and migrations jobs)
echoinfo "Unready Pods for release ${CI_ENVIRONMENT_SLUG}"
kubectl get pods -n "$KUBE_NAMESPACE" -lrelease=${CI_ENVIRONMENT_SLUG} --field-selector=status.phase!=Running
# Get all pods for this release
echoinfo "Pods for release ${CI_ENVIRONMENT_SLUG}"
kubectl get pods -n "$KUBE_NAMESPACE" -lrelease=${CI_ENVIRONMENT_SLUG}
# Get all non-completed jobs
echoinfo "Unsuccessful Jobs for release ${CI_ENVIRONMENT_SLUG}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment