Add pg restart script to just

This commit is contained in:
Grant 2025-05-19 11:38:26 -06:00
parent 23cc0fd76c
commit 12bcabf7b2

View File

@ -8,8 +8,10 @@ sdiff ARGS='':
bws run 'helmfile diff --output simple'
ddiff ARGS='':
bws run 'helmfile diff --output dyff'
bws run 'helmfile diff --output dyff {{ARGS}}'
cleanuppods:
kubectl get pods --no-headers | grep -v Running | awk '{print $1}' | xargs kubectl delete pod
pgrestart:
kubectl patch postgrescluster/postgres --type merge --patch '{"spec":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}'