mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +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
|
||||
}
|
||||
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user