mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-30 09:48:54 +00:00
9 lines
162 B
Bash
9 lines
162 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
CONTROLLERS=`kubectl get pods -o=name | grep controller | sed "s/^.\{4\}//"`
|
||
|
|
||
|
for c in ${CONTROLLERS[@]}
|
||
|
do
|
||
|
kubectl delete pod ${c}
|
||
|
done
|