mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
e2e/node: increase timeouts seconds to 5 for liveness probe restart test
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
parent
a59189e213
commit
f5a82f70e5
@ -123,6 +123,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
|
|||||||
livenessProbe := &v1.Probe{
|
livenessProbe := &v1.Probe{
|
||||||
Handler: execHandler([]string{"cat", "/tmp/health"}),
|
Handler: execHandler([]string{"cat", "/tmp/health"}),
|
||||||
InitialDelaySeconds: 15,
|
InitialDelaySeconds: 15,
|
||||||
|
TimeoutSeconds: 5, // default 1s can be pretty aggressive in CI environments with low resources
|
||||||
FailureThreshold: 1,
|
FailureThreshold: 1,
|
||||||
}
|
}
|
||||||
pod := busyBoxPodSpec(nil, livenessProbe, cmd)
|
pod := busyBoxPodSpec(nil, livenessProbe, cmd)
|
||||||
@ -139,6 +140,7 @@ var _ = framework.KubeDescribe("Probing container", func() {
|
|||||||
livenessProbe := &v1.Probe{
|
livenessProbe := &v1.Probe{
|
||||||
Handler: execHandler([]string{"cat", "/tmp/health"}),
|
Handler: execHandler([]string{"cat", "/tmp/health"}),
|
||||||
InitialDelaySeconds: 15,
|
InitialDelaySeconds: 15,
|
||||||
|
TimeoutSeconds: 5, // default 1s can be pretty aggressive in CI environments with low resources
|
||||||
FailureThreshold: 1,
|
FailureThreshold: 1,
|
||||||
}
|
}
|
||||||
pod := busyBoxPodSpec(nil, livenessProbe, cmd)
|
pod := busyBoxPodSpec(nil, livenessProbe, cmd)
|
||||||
|
Loading…
Reference in New Issue
Block a user