Skip to content

Commit 19a6c99

Browse files
committed
operator v1: set readiness probe timeout of 5s
it times out in tests with lower memory or CPU. In addition, this was seen in cloud production as well (rarely).
1 parent 2e172da commit 19a6c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

operator/pkg/resources/statefulset.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ func (r *StatefulSetResource) obj(
636636
},
637637
}, r.getPorts()...),
638638
ReadinessProbe: &corev1.Probe{
639+
TimeoutSeconds: 5,
639640
ProbeHandler: corev1.ProbeHandler{
640641
Exec: &corev1.ExecAction{
641642
Command: []string{"bash", "-xc", fmt.Sprintf("rpk cluster health %s| grep 'Healthy:.*true'", strings.Join(rpkFlags, " "))},

0 commit comments

Comments
 (0)