Skip to content

Commit

Permalink
use /healthz for more consistent health check
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Aug 21, 2024
1 parent e75acf8 commit 6fa4c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/controller_volume_statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (r *SeaweedReconciler) createVolumeServerStatefulSet(m *seaweedv1.Seaweed)
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/status",
Path: "/healthz",
Port: intstr.FromInt(seaweedv1.VolumeHTTPPort),
Scheme: corev1.URISchemeHTTP,
},
Expand All @@ -124,7 +124,7 @@ func (r *SeaweedReconciler) createVolumeServerStatefulSet(m *seaweedv1.Seaweed)
LivenessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/status",
Path: "/healthz",
Port: intstr.FromInt(seaweedv1.VolumeHTTPPort),
Scheme: corev1.URISchemeHTTP,
},
Expand Down

0 comments on commit 6fa4c24

Please sign in to comment.