Skip to content

Commit 4a89025

Browse files
committed
Increase readiness and liveness probe timeouts, introduce an initial delay
Currently the default timeout of 1 second and no initial delay is applied to the probes of the runner pods. Depending on the startup time this can cause random Pod errors causing a whole TestRun to fail. At some point it might also make sense to introduce a startupProbe to cover the longer initial startup time a K6 instance (Pod) might need instead of every increasing the runtime liveness and readiness checks. Fixes #306 Signed-off-by: Christian Rohmann <[email protected]>
1 parent 40dce3f commit 4a89025

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/resources/jobs/runner.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ func generateProbe(configuredProbe *corev1.Probe) *corev1.Probe {
281281
return configuredProbe
282282
}
283283
return &corev1.Probe{
284+
InitialDelaySeconds: 10,
285+
TimeoutSeconds: 3,
284286
ProbeHandler: corev1.ProbeHandler{
285287
HTTPGet: &corev1.HTTPGetAction{
286288
Path: "/v1/status",

0 commit comments

Comments
 (0)