Skip to content

Commit b4285cb

Browse files
committed
Fix readiness probe for Ceilometer
Proxy container tests sg-core availability. sg-core does not have /v3 endpoint, but probe works since sg-core returns HTTP200 even for non-existent endpoints.
1 parent bdd8610 commit b4285cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/ceilometer/statefulset.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ func StatefulSet(
6363
args = append(args, ServiceCommand)
6464

6565
livenessProbe.HTTPGet = &corev1.HTTPGetAction{
66-
Path: "/v3",
66+
Path: "/",
6767
Port: intstr.IntOrString{Type: intstr.Int, IntVal: int32(CeilometerPrometheusPort)},
6868
}
6969
readinessProbe.HTTPGet = &corev1.HTTPGetAction{
70-
Path: "/v3",
70+
Path: "/",
7171
Port: intstr.IntOrString{Type: intstr.Int, IntVal: int32(CeilometerPrometheusPort)},
7272
}
7373

0 commit comments

Comments
 (0)