mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-06 23:36:54 +02:00
9 lines
175 B
Bash
Executable file
9 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
|