4 lines
118 B
Bash
4 lines
118 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
kubectl get pods --all-namespaces --field-selector 'status.phase==Failed' -o json | kubectl delete -f -
|