Use unmodified PeriodSeconds
setting
Use actual interval setting from readiness probe instead of modifying.
This commit is contained in:
parent
31d45d8a5d
commit
ac9f9602e9
1 changed files with 1 additions and 1 deletions
|
@ -472,6 +472,6 @@ func applyProbeSettingsToHC(p *v1.Probe, hc *healthchecks.HealthCheck) {
|
|||
hc.RequestPath = healthPath
|
||||
hc.Host = host
|
||||
hc.Description = "Kubernetes L7 health check generated with readiness probe settings."
|
||||
hc.CheckIntervalSec = int64(p.PeriodSeconds) + int64(healthchecks.DefaultHealthCheckInterval.Seconds())
|
||||
hc.CheckIntervalSec = int64(p.PeriodSeconds)
|
||||
hc.TimeoutSec = int64(p.TimeoutSeconds)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue