mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-18 12:46:25 +00: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
|