Skip to content

Commit

Permalink
feat: shorten the probe initial delay time to improve scaling experie…
Browse files Browse the repository at this point in the history
…nce (#320)

Signed-off-by: arkbriar <arkbriar@gmail.com>

Signed-off-by: arkbriar <arkbriar@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
arkbriar and mergify[bot] authored Jan 19, 2023
1 parent 4844f68 commit 321f54d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/factory/risingwave_object_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ func basicSetupContainer(container *corev1.Container, template *risingwavev1alph
container.Resources = template.Resources
container.StartupProbe = nil
container.LivenessProbe = &corev1.Probe{
InitialDelaySeconds: 10,
InitialDelaySeconds: 2,
PeriodSeconds: 10,
ProbeHandler: corev1.ProbeHandler{
TCPSocket: &corev1.TCPSocketAction{
Expand All @@ -1048,7 +1048,7 @@ func basicSetupContainer(container *corev1.Container, template *risingwavev1alph
},
}
container.ReadinessProbe = &corev1.Probe{
InitialDelaySeconds: 10,
InitialDelaySeconds: 2,
PeriodSeconds: 10,
ProbeHandler: corev1.ProbeHandler{
TCPSocket: &corev1.TCPSocketAction{
Expand Down

0 comments on commit 321f54d

Please sign in to comment.