mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 13:54:15 -07:00
cleanup
This commit is contained in:
parent
cfbd7e3bf5
commit
5c1fc43610
2 changed files with 0 additions and 0 deletions
9
attic/cycle_controllers.sh
Executable file
9
attic/cycle_controllers.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue