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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user