conformance-test: use kubelet healthz port.

The readonly port could be disabled.

Since we are only using the /healthz endpoint,
we can use the healthz port.

Change-Id: If004f2888ca5847b9e2d8c02d5615bed52d94b24
This commit is contained in:
Abhijit Hoskeri 2022-04-05 16:39:20 -07:00
parent 7380fc735a
commit ea6e653db1

View File

@ -126,10 +126,10 @@ start_kubelet() {
fi
}
# wait_kubelet retries for 10 times for kubelet to be ready by checking http://127.0.0.1:10255/healthz.
# wait_kubelet retries for 10 times for kubelet to be ready by checking http://127.0.0.1:10248/healthz.
wait_kubelet() {
echo "Health checking kubelet..."
healthCheckURL=http://127.0.0.1:10255/healthz
healthCheckURL=http://127.0.0.1:10248/healthz
local maxRetry=10
local cur=1
while [ $cur -le $maxRetry ]; do