Skip to content

Commit 3275078

Browse files
author
lamai93
committed
Changed default probe values.
1 parent 974a68d commit 3275078

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/util/k8sutil/probes.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ func (config HTTPProbeConfig) Create() *v1.Probe {
7777
HTTPHeaders: headers,
7878
},
7979
},
80-
InitialDelaySeconds: def(config.InitialDelaySeconds, 30), // Wait 30s before first probe
81-
TimeoutSeconds: def(config.TimeoutSeconds, 2), // Timeout of each probe is 2s
82-
PeriodSeconds: def(config.PeriodSeconds, 10), // Interval between probes is 10s
83-
SuccessThreshold: def(config.SuccessThreshold, 1), // Single probe is enough to indicate success
84-
FailureThreshold: def(config.FailureThreshold, 3), // Need 3 failed probes to consider a failed state
80+
InitialDelaySeconds: def(config.InitialDelaySeconds, 15*60), // Wait 15min before first probe
81+
TimeoutSeconds: def(config.TimeoutSeconds, 2), // Timeout of each probe is 2s
82+
PeriodSeconds: def(config.PeriodSeconds, 60), // Interval between probes is 10s
83+
SuccessThreshold: def(config.SuccessThreshold, 1), // Single probe is enough to indicate success
84+
FailureThreshold: def(config.FailureThreshold, 10), // Need 10 failed probes to consider a failed state
8585
}
8686
}

0 commit comments

Comments
 (0)