Commit 3cbd5f01 authored by Brian Grant's avatar Brian Grant

Merge pull request #13044 from roberthbailey/kubelet-healthcheck

Healthcheck the kubelet on the secure port rather than the read-only port.
parents 51a3b80b da94ed79
......@@ -400,7 +400,7 @@ script
echo "Docker daemon failed!"
pkill docker
fi
if ! curl -m ${max_seconds} -f -s http://127.0.0.1:10255/healthz > /dev/null; then
if ! curl --insecure -m ${max_seconds} -f -s https://127.0.0.1:10250/healthz > /dev/null; then
echo "Kubelet is unhealthy!"
pkill kubelet
fi
......
......@@ -27,7 +27,7 @@ sleep 60
max_seconds=10
while true; do
if ! curl -m ${max_seconds} -f -s http://127.0.0.1:10255/healthz > /dev/null; then
if ! curl --insecure -m ${max_seconds} -f -s https://127.0.0.1:10250/healthz > /dev/null; then
echo "kubelet failed!"
exit 2
fi
......
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