Improving e2e more (#1185)

* Add curl to operator image.

* Wait for idle operator in delete.
This commit is contained in:
Jan Mussler
2020-10-29 13:59:22 +01:00
committed by GitHub
parent c694a72352
commit 7f7beba66b
6 changed files with 46 additions and 3 deletions
+9 -1
View File
@@ -13,7 +13,15 @@ kubectl get statefulsets
echo
kubectl get deployments
echo
echo
echo 'Step from operator deployment'
kubectl get pods -l name=postgres-operator -o jsonpath='{.items..metadata.annotations.step}'
echo
echo
echo 'Spilo Image in statefulset'
kubectl get pods -l application=spilo -o jsonpath='{.items..spec.containers..image}'
"
echo
echo
echo 'Queue Status'
kubectl exec -it \$(kubectl get pods -l name=postgres-operator -o jsonpath='{.items..metadata.name}') -- curl localhost:8080/workers/all/status/
echo"