First Commit
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONTROLLERS=`kubectl get pods -o=name | grep controller | sed "s/^.\{4\}//"`
|
||||
|
||||
for c in ${CONTROLLERS[@]}
|
||||
do
|
||||
kubectl delete pod ${c}
|
||||
sleep 30
|
||||
done
|
||||
Reference in New Issue
Block a user