Mount script with tools for easy logaccess and watching objects.

This commit is contained in:
Jan Mußler
2020-10-22 23:35:43 +02:00
parent 0143a470b1
commit aa3100ca34
4 changed files with 13 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
kubectl logs $(kubectl get pods -l name=postgres-operator --field-selector status.phase=Running -o jsonpath='{.items..metadata.name}')
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
watch -c "
kubectl get postgresql
echo
kubectl get pods
echo
kubectl get statefulsets
"