Commit b201ac2f authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents 746cc5d2 024d7503
...@@ -285,6 +285,7 @@ const pprofBasePath = "/debug/pprof/" ...@@ -285,6 +285,7 @@ const pprofBasePath = "/debug/pprof/"
// InstallDeguggingHandlers registers the HTTP request patterns that serve logs or run commands/containers // InstallDeguggingHandlers registers the HTTP request patterns that serve logs or run commands/containers
func (s *Server) InstallDebuggingHandlers(criHandler http.Handler) { func (s *Server) InstallDebuggingHandlers(criHandler http.Handler) {
glog.Infof("Adding debug handlers to kubelet server.")
var ws *restful.WebService var ws *restful.WebService
ws = new(restful.WebService) ws = new(restful.WebService)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment