in pkg/controller/liveness/liveness.go [149:160]
func (hc *HealthCheck) StartServing(address, path string) {
mux := http.NewServeMux()
hc.httpServer = http.Server{Addr: address, Handler: mux}
mux.HandleFunc(path, hc.serveHTTP)
go func() {
err := hc.httpServer.ListenAndServe()
if err != nil && !errors.Is(err, http.ErrServerClosed) {
klog.Fatalf("Failed to start server: %v", err)
}
}()
}