update install instructions, update talos install version

This commit is contained in:
Grant Hunter
2025-09-22 20:01:59 -06:00
parent 5963ba52e1
commit bbd382c667
3 changed files with 18 additions and 2 deletions

View File

@@ -8,7 +8,17 @@ diff ARGS='':
bws run 'helmfile diff --output dyff {{ARGS}}'
cleanuppods:
kubectl get pods --no-headers | grep -v Running | awk '{print $1}' | xargs kubectl delete pod
#!/bin/bash
kubectl get pods --all-namespaces | grep -v Running | awk '{print $1, $2}' | tail -n +2 | while read namespace pod; do
kubectl delete pod "$pod" --namespace "$namespace"
done
cleanupjobs:
#!/bin/bash
kubectl get jobs --all-namespaces | grep -v Running | awk '{print $1, $2}' | tail -n +2 | while read namespace job; do
kubectl delete job "$job" --namespace "$namespace"
done
pgrestart:
kubectl patch postgrescluster/postgres --type merge --patch '{"spec":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}'