This commit is contained in:
zeaslity
2024-10-30 16:30:51 +08:00
commit 437acbeb63
3363 changed files with 653948 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
COUNT=`docker ps | grep kubelet | wc -l`
if [ $COUNT -eq 0 ];then
systemctl restart docker
sleep 15
if [ `docker ps | grep kubelet | wc -l` -eq 0 ];then
killall keepalived
fi
fi