mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
add configz.InstallHandler
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
parent
4694a6dd71
commit
2dae79c114
@ -144,6 +144,7 @@ func Run(s *options.CMServer) error {
|
|||||||
mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
|
mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
|
||||||
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
|
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
|
||||||
}
|
}
|
||||||
|
configz.InstallHandler(mux)
|
||||||
mux.Handle("/metrics", prometheus.Handler())
|
mux.Handle("/metrics", prometheus.Handler())
|
||||||
|
|
||||||
server := &http.Server{
|
server := &http.Server{
|
||||||
|
Loading…
Reference in New Issue
Block a user