Skip to content
Snippets Groups Projects
Unverified Commit a6fe8378 authored by openshift-merge-bot[bot]'s avatar openshift-merge-bot[bot] Committed by GitHub
Browse files

Merge pull request #1299 from eggfoobar/fix-health-probes

OCPBUGS-43481: fix: health probes paths and updated timing
parents 52a965a4 6437190e
No related branches found
No related tags found
No related merge requests found
......@@ -694,18 +694,41 @@ func newContainers(config *OperatorConfig, features map[string]bool) []corev1.Co
ContainerPort: defaultMachineSetHealthPort,
},
},
StartupProbe: &corev1.Probe{
PeriodSeconds: 10,
TimeoutSeconds: 10,
FailureThreshold: 30,
SuccessThreshold: 1,
InitialDelaySeconds: 0,
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/readyz",
Port: intstr.Parse("healthz"),
},
},
},
ReadinessProbe: &corev1.Probe{
PeriodSeconds: 10,
TimeoutSeconds: 5,
FailureThreshold: 3,
SuccessThreshold: 1,
InitialDelaySeconds: 0,
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/healthz",
Path: "/readyz",
Port: intstr.Parse("healthz"),
},
},
},
LivenessProbe: &corev1.Probe{
PeriodSeconds: 10,
TimeoutSeconds: 5,
FailureThreshold: 3,
SuccessThreshold: 1,
InitialDelaySeconds: 0,
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/readyz",
Path: "/healthz",
Port: intstr.Parse("healthz"),
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment