mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-23 23:02:23 +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
|