Merge pull request #30641 from Random-Liu/fix-liveness-check-flake
Automatic merge from submit-queue
Add back the original liveness check timeout.
Fixes https://github.com/kubernetes/kubernetes/issues/30342.
Fixes https://github.com/kubernetes/kubernetes/issues/30335.
When I moved the test into common directory, I removed the original 10s timeout - https://github.com/kubernetes/kubernetes/pull/29814/commits/0362789283d06c31b42e94ac7e81c1ba981a0b87#diff-0f856ff011970dca55a2cd916b9ddcf0L1128.
It turns out that the default 1s timeout is not enough. In all the flake, the probe request is cancelled on the kubelet side. This PR added back a 5s timeout to eliminate the flake.
Mark P0 to match the corresponding issue.
@freehan
/cc @matchstick :)
Showing
Please
register
or
sign in
to comment