Skip to content

Commit 90799d7

Browse files
authored
More output from test watch script. All namespaces and deployments. (zalando#1193)
1 parent db0d089 commit 90799d7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

e2e/scripts/watch_objects.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
#!/bin/bash
22

33
watch -c "
4-
kubectl get postgresql
4+
kubectl get postgresql --all-namespaces
55
echo
66
echo -n 'Rolling upgrade pending: '
77
kubectl get statefulset -o jsonpath='{.items..metadata.annotations.zalando-postgres-operator-rolling-update-required}'
88
echo
99
echo
10-
kubectl get pods -o wide
10+
echo 'Pods'
11+
kubectl get pods -l application=spilo -l name=postgres-operator -l application=db-connection-pooler -o wide --all-namespaces
1112
echo
12-
kubectl get statefulsets
13+
echo 'Statefulsets'
14+
kubectl get statefulsets --all-namespaces
1315
echo
14-
kubectl get deployments
16+
echo 'Deployments'
17+
kubectl get deployments --all-namespaces -l application=db-connection-pooler -l name=postgres-operator
1518
echo
1619
echo
1720
echo 'Step from operator deployment'

0 commit comments

Comments
 (0)