Skip to content

Commit 02a656f

Browse files
committed
add log healthz check
1 parent be818a3 commit 02a656f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: pkg/cmd/openshift-controller-manager/controller/standalone_apiserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func RunControllerServer(servingInfo configapi.HTTPServingInfo, kubeExternal cli
3434

3535
mux := genericmux.NewPathRecorderMux("master-healthz")
3636

37-
healthz.InstallHandler(mux, healthz.PingHealthz)
37+
healthz.InstallHandler(mux, healthz.PingHealthz, healthz.LogHealthz)
3838
initReadinessCheckRoute(mux, "/healthz/ready", func() bool { return true })
3939
genericroutes.Profiling{}.Install(mux)
4040
genericroutes.MetricsWithReset{}.Install(mux)

Diff for: test/integration/master_routes_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ var expectedIndex = []string{
106106
"/healthz",
107107
"/healthz/autoregister-completion",
108108
"/healthz/etcd",
109+
"/healthz/log",
109110
"/healthz/ping",
110111
"/healthz/poststarthook/apiservice-openapi-controller",
111112
"/healthz/poststarthook/apiservice-registration-controller",

0 commit comments

Comments
 (0)