mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #41457 from alejandroEsc/ae/kubelet/debug2
Automatic merge from submit-queue Log that debug handlers have been turned on. **What this PR does / why we need it**: PR allows user to have a message in logs that debug handlers are on. It should allow the operator to know and automate a check for the case where debug has been left on. **Release note**: ``` NONE ```
This commit is contained in:
commit
b201ac2f8f
@ -285,6 +285,7 @@ const pprofBasePath = "/debug/pprof/"
|
||||
|
||||
// InstallDeguggingHandlers registers the HTTP request patterns that serve logs or run commands/containers
|
||||
func (s *Server) InstallDebuggingHandlers(criHandler http.Handler) {
|
||||
glog.Infof("Adding debug handlers to kubelet server.")
|
||||
var ws *restful.WebService
|
||||
|
||||
ws = new(restful.WebService)
|
||||
|
Loading…
Reference in New Issue
Block a user