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 ...@@ -255,9 +255,9 @@ EOF
} }
function display_deployment_debug() { function display_deployment_debug() {
# Get all pods that are not ready (this will return completed pods for minio and migrations jobs) # Get all pods for this release
echoinfo "Unready Pods for release ${CI_ENVIRONMENT_SLUG}" echoinfo "Pods for release ${CI_ENVIRONMENT_SLUG}"
kubectl get pods -n "$KUBE_NAMESPACE" -lrelease=${CI_ENVIRONMENT_SLUG} --field-selector=status.phase!=Running kubectl get pods -n "$KUBE_NAMESPACE" -lrelease=${CI_ENVIRONMENT_SLUG}
# Get all non-completed jobs # Get all non-completed jobs
echoinfo "Unsuccessful Jobs for release ${CI_ENVIRONMENT_SLUG}" 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