mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
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:
parent
7380fc735a
commit
ea6e653db1
@ -126,10 +126,10 @@ start_kubelet() {
|
|||||||
fi
|
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() {
|
wait_kubelet() {
|
||||||
echo "Health checking 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 maxRetry=10
|
||||||
local cur=1
|
local cur=1
|
||||||
while [ $cur -le $maxRetry ]; do
|
while [ $cur -le $maxRetry ]; do
|
||||||
|
Loading…
Reference in New Issue
Block a user