Skip to content
2 changes: 1 addition & 1 deletion deploy/operator/internal/dynamo/component_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (w *WorkerDefaults) GetBaseContainer(context ComponentContext) (corev1.Cont
},
PeriodSeconds: 5,
TimeoutSeconds: 4, // TimeoutSeconds should be < PeriodSeconds
FailureThreshold: 1, // Note this default FailureThreshold is 3, with 1 a single failure will restart Pod
FailureThreshold: 3,
Comment thread
xianlubird marked this conversation as resolved.
Outdated
}

// ReadinessProbe in Dynamo worker context doesn't determine that the worker is ready to receive traffic
Expand Down
4 changes: 2 additions & 2 deletions deploy/operator/internal/dynamo/graph_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,7 @@ func TestGenerateGrovePodCliqueSet(t *testing.T) {
TimeoutSeconds: 4,
PeriodSeconds: 5,
SuccessThreshold: 0,
FailureThreshold: 1,
FailureThreshold: 3,
},
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Expand Down Expand Up @@ -5676,7 +5676,7 @@ func TestGenerateBasePodSpec_Worker(t *testing.T) {
},
PeriodSeconds: 5,
TimeoutSeconds: 4,
FailureThreshold: 1,
FailureThreshold: 3,
},
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Expand Down
Loading