Commit 14f8ae13 authored by Dawn Chen's avatar Dawn Chen

Log kubelet /healthz failure reasons to supervisord log file

parent e03c632a
......@@ -34,6 +34,7 @@ max_seconds=10
while true; do
if ! curl --insecure -m ${max_seconds} -f -s https://127.0.0.1:{{kubelet_port}}/healthz > /dev/null; then
echo "kubelet failed!"
curl --insecure -s http://127.0.0.1:{{kubelet_port}}/healthz
exit 2
fi
sleep 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment