Log kubelet /healthz failure reasons to supervisord log file

This commit is contained in:
Dawn Chen 2016-02-17 15:23:17 -08:00
parent e03c632a5e
commit 14f8ae1340

View File

@ -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