mirror of https://github.com/k3s-io/k3s
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 - 0362789283 (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 :)
pull/6/head
commit
5c1d7a7d99
|
@ -223,6 +223,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
InitialDelaySeconds: 15,
|
InitialDelaySeconds: 15,
|
||||||
|
TimeoutSeconds: 5,
|
||||||
FailureThreshold: 1,
|
FailureThreshold: 1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue