File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ func Deployment(
6868
6969 livenessProbe := formatProbes ()
7070 readinessProbe := formatProbes ()
71- startupProbe := formatProbes ()
71+ startupProbe := formatStartupProbe ()
7272
7373 envVars := getEnvVars (configHash , enabledServices )
7474
@@ -210,6 +210,21 @@ func formatProbes() *corev1.Probe {
210210 }
211211}
212212
213+ func formatStartupProbe () * corev1.Probe {
214+
215+ return & corev1.Probe {
216+ TimeoutSeconds : 5 ,
217+ PeriodSeconds : 10 ,
218+ FailureThreshold : 12 ,
219+ ProbeHandler : corev1.ProbeHandler {
220+ HTTPGet : & corev1.HTTPGetAction {
221+ Path : horizonDashboardURL ,
222+ Port : intstr .FromString (horizonContainerPortName ),
223+ },
224+ },
225+ }
226+ }
227+
213228func (t * TLSRequiredOptions ) formatTLSOptions (instance * horizonv1.Horizon ) error {
214229
215230 var err error
You can’t perform that action at this time.
0 commit comments