mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-08-23 21:46:21 +00:00
delete logs..
This commit is contained in:
@@ -15,6 +15,5 @@ python3 /opt/logs_loop/start.py https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_
|
||||
while true
|
||||
do
|
||||
( ps -ef | grep start.py | grep logs_loop | grep -v grep ) || ( python3 /opt/logs_loop/start.py https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS} & )
|
||||
echo "[WORK AROUND] Chefking if logs_loop is still alive..."
|
||||
sleep 2
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user