Skip to content

Commit

Permalink
Merge pull request kubernetes#41457 from alejandroEsc/ae/kubelet/debug2
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
Kubernetes Submit Queue authored Feb 21, 2017
2 parents 746cc5d + 024d750 commit b201ac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubelet/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b201ac2

Please sign in to comment.