From aee028dab8486c826d71362db413aef95402ee6c Mon Sep 17 00:00:00 2001 From: Mark Wolters Date: Wed, 22 Jan 2020 10:52:08 -0800 Subject: [PATCH] Migrate health monitor from read only port to healthz port --- cluster/gce/gci/health-monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/gci/health-monitor.sh b/cluster/gce/gci/health-monitor.sh index b2bca3d2a8b..b89de05cdc0 100644 --- a/cluster/gce/gci/health-monitor.sh +++ b/cluster/gce/gci/health-monitor.sh @@ -72,7 +72,7 @@ function kubelet_monitoring { local -r max_seconds=10 local output="" while [ 1 ]; do - if ! output=$(curl -m "${max_seconds}" -f -s -S http://127.0.0.1:10255/healthz 2>&1); then + if ! output=$(curl -m "${max_seconds}" -f -s -S http://127.0.0.1:10248/healthz 2>&1); then # Print the response and/or errors. echo $output echo "Kubelet is unhealthy!"