We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2bb61 commit d14b3ddCopy full SHA for d14b3dd
hack/fix-hung-volsync.sh
@@ -0,0 +1,3 @@
1
+#!/usr/bin/env bash
2
+kubectl get job -A -o custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace | awk '/src/ {print $1, $2}' | while read -r job namespace; do kubectl delete job "$job" -n "$namespace"; done
3
+kubectl get pvc -A -o custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace | awk '/src/ {print $1, $2}' | while read -r pvc namespace; do kubectl delete pvc "$pvc" -n "$namespace"; done
0 commit comments