Add zap scripts, and make restart scripts more explicit

This commit is contained in:
Jonas Juselius
2021-04-19 21:03:30 +02:00
parent 0331cfa802
commit 458628d239
4 changed files with 15 additions and 5 deletions

3
scripts/zap-crashing-pods.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
for i in (kubectl get pods -A |grep CrashLoop | sed 's/^\([^ ]\+\) \+\([^ ]\+\) .*/kubectl delete pod -n \1 \2 --force=true/'); eval $i; end