Create delete_evicted.sh
This commit is contained in:
parent
bf3f59d3ce
commit
6bf71c87b5
5
delete_evicted.sh
Normal file
5
delete_evicted.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
for each in $(kubectl get pods|grep Evicted|awk '{print $1}');
|
||||
do
|
||||
kubectl delete pods $each
|
||||
done
|
Loading…
Reference in New Issue
Block a user