File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
watch -c "
4
- kubectl get postgresql
4
+ kubectl get postgresql --all-namespaces
5
5
echo
6
6
echo -n 'Rolling upgrade pending: '
7
7
kubectl get statefulset -o jsonpath='{.items..metadata.annotations.zalando-postgres-operator-rolling-update-required}'
8
8
echo
9
9
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
11
12
echo
12
- kubectl get statefulsets
13
+ echo 'Statefulsets'
14
+ kubectl get statefulsets --all-namespaces
13
15
echo
14
- kubectl get deployments
16
+ echo 'Deployments'
17
+ kubectl get deployments --all-namespaces -l application=db-connection-pooler -l name=postgres-operator
15
18
echo
16
19
echo
17
20
echo 'Step from operator deployment'
You can’t perform that action at this time.
0 commit comments