Add pg restart script to just
This commit is contained in:
parent
23cc0fd76c
commit
12bcabf7b2
4
justfile
4
justfile
@ -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)"'"}}}}'
|
Loading…
x
Reference in New Issue
Block a user