mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
e2e: set liveness probe timeout seconds for conformance test
This commit is contained in:
parent
1e862b0fec
commit
9fb77db9b9
@ -857,6 +857,7 @@ var _ = SIGDescribe("[NodeAlphaFeature:SidecarContainers][Feature:SidecarContain
|
|||||||
livenessProbe := &v1.Probe{
|
livenessProbe := &v1.Probe{
|
||||||
ProbeHandler: httpGetHandler("/healthz", 8080),
|
ProbeHandler: httpGetHandler("/healthz", 8080),
|
||||||
InitialDelaySeconds: 15,
|
InitialDelaySeconds: 15,
|
||||||
|
TimeoutSeconds: 5,
|
||||||
FailureThreshold: 1,
|
FailureThreshold: 1,
|
||||||
}
|
}
|
||||||
pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe)
|
pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe)
|
||||||
@ -875,6 +876,7 @@ var _ = SIGDescribe("[NodeAlphaFeature:SidecarContainers][Feature:SidecarContain
|
|||||||
livenessProbe := &v1.Probe{
|
livenessProbe := &v1.Probe{
|
||||||
ProbeHandler: tcpSocketHandler(8080),
|
ProbeHandler: tcpSocketHandler(8080),
|
||||||
InitialDelaySeconds: 15,
|
InitialDelaySeconds: 15,
|
||||||
|
TimeoutSeconds: 5,
|
||||||
FailureThreshold: 1,
|
FailureThreshold: 1,
|
||||||
}
|
}
|
||||||
pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe)
|
pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe)
|
||||||
|
Loading…
Reference in New Issue
Block a user