Commit 134d6e39 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch...

Merge branch '33617-display_deployment_debug-needs-to-include-pods-running-but-not-ready' into 'master'

Resolve "`display_deployment_debug` needs to include pods RUNNING but not READY"

Closes #33617

See merge request gitlab-org/gitlab!18377
parents df000aa8 2b6b08a1
...@@ -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