Skip to content

Commit a7fee6f

Browse files
committed
change LivenessProbe to patroni /liveness api-endpoint
1 parent 6ede073 commit a7fee6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/k8sres.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ func generatePatroniLivenessProbe() *v1.Probe {
13231323
FailureThreshold: 6,
13241324
ProbeHandler: v1.ProbeHandler{
13251325
HTTPGet: &v1.HTTPGetAction{
1326-
Path: "/health",
1326+
Path: "/liveness",
13271327
Port: intstr.IntOrString{IntVal: patroni.ApiPort},
13281328
Scheme: v1.URISchemeHTTP,
13291329
},

0 commit comments

Comments
 (0)