More output from test watch script. All namespaces and deployments. (#1193)

This commit is contained in:
Jan Mussler 2020-11-04 16:40:15 +01:00 committed by GitHub
parent db0d089e75
commit 90799d7e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -1,17 +1,20 @@
#!/bin/bash
watch -c "
kubectl get postgresql
kubectl get postgresql --all-namespaces
echo
echo -n 'Rolling upgrade pending: '
kubectl get statefulset -o jsonpath='{.items..metadata.annotations.zalando-postgres-operator-rolling-update-required}'
echo
echo
kubectl get pods -o wide
echo 'Pods'
kubectl get pods -l application=spilo -l name=postgres-operator -l application=db-connection-pooler -o wide --all-namespaces
echo
kubectl get statefulsets
echo 'Statefulsets'
kubectl get statefulsets --all-namespaces
echo
kubectl get deployments
echo 'Deployments'
kubectl get deployments --all-namespaces -l application=db-connection-pooler -l name=postgres-operator
echo
echo
echo 'Step from operator deployment'