More output from test watch script. All namespaces and deployments.

This commit is contained in:
Jan Mußler 2020-11-04 16:30:10 +01:00
parent 4f3bb6aa8c
commit a2be5a4178
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'