mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #29370 from ping035627/ping035627-patch-0721-2
Automatic merge from submit-queue add configz.InstallHandler in controllermanager.go I think it should add configz.InstallHandler for Run function in controllermanager.go.
This commit is contained in:
commit
73f1218398
@ -144,6 +144,7 @@ func Run(s *options.CMServer) error {
|
||||
mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
|
||||
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
|
||||
}
|
||||
configz.InstallHandler(mux)
|
||||
mux.Handle("/metrics", prometheus.Handler())
|
||||
|
||||
server := &http.Server{
|
||||
|
Loading…
Reference in New Issue
Block a user