mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-11-04 12:40:10 -08:00
10 lines
175 B
Bash
Executable File
10 lines
175 B
Bash
Executable File
#!/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
|