diff --git a/cmd/controller-manager/main.go b/cmd/controller-manager/main.go index 2a9523c5a4..d92ba8bef1 100644 --- a/cmd/controller-manager/main.go +++ b/cmd/controller-manager/main.go @@ -257,6 +257,8 @@ func main() { func createHTTPServer() *http.Server { serverMux := http.NewServeMux() + // HTTP path for pprof + serverMux.Handle("/", http.DefaultServeMux) // HTTP path for prometheus. serverMux.Handle("/metrics", promhttp.Handler())