Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheck ¶
HealthCheck returns an http.Handler that responds with JSON containing the git revision, uptime, and goroutine count. It encodes into a buffer first so that encoding errors can be reported with a proper 500 status.
func Healthz ¶
Healthz returns an http.Handler that always responds with 200 OK and the body "ok". This is functionally equivalent to the controller-runtime healthz.Ping checker that was previously registered with each controller manager — those checkers were also unconditional (always healthy). The consolidated HTTP server now serves this endpoint in place of the per-controller health probe ports.
func Readyz ¶
Readyz returns an http.Handler that always responds with 200 OK and the body "ok". This is functionally equivalent to the controller-runtime healthz.Ping checker that was previously registered with each controller manager — those checkers were also unconditional (always ready). The consolidated HTTP server now serves this endpoint in place of the per-controller health probe ports.
Types ¶
This section is empty.