diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-08 21:08:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-08 21:08:30 +0300 |
commit | 54943f1e68bd4e1951bf3d6c438acab8d783fc31 (patch) | |
tree | 7528e59c2fd305422f64c44c124ed2cda35b6cd2 /scripts/review_apps | |
parent | 8a7e48133fa53ea53107eafb4e71fbe72545588e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/review_apps')
-rwxr-xr-x | scripts/review_apps/review-apps.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh index 48344dc3afe..a108fb8df69 100755 --- a/scripts/review_apps/review-apps.sh +++ b/scripts/review_apps/review-apps.sh @@ -373,7 +373,7 @@ function display_deployment_debug() { local namespace="${CI_ENVIRONMENT_SLUG}" echoinfo "[debugging data] k8s resources:" - kubectl get svc,pods,jobs -o wide --namespace "${namespace}" + kubectl get pods --namespace "${namespace}" echoinfo "[debugging data] PostgreSQL logs:" kubectl logs -l app=postgresql --all-containers --namespace "${namespace}" @@ -382,8 +382,5 @@ function display_deployment_debug() { kubectl logs -l app=migrations --all-containers --namespace "${namespace}" echoinfo "[debugging data] Webservice logs:" - kubectl logs -l app=webservice --all-containers --namespace "${namespace}" - - echoinfo "[debugging data] k8s events in namespace:" - kubectl get events --sort-by='.metadata.creationTimestamp' --namespace "${namespace}" + kubectl logs -l app=webservice -c webservice --namespace "${namespace}" } |