mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Log kubelet /healthz failure reasons to supervisord log file
This commit is contained in:
parent
e03c632a5e
commit
14f8ae1340
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user