k3s/pkg/kubelet/server
Kubernetes Submit Queue cffa2aed0e
Merge pull request #64601 from hzxuzhonghu/cm-dynamic-loglevel-set
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Other components support set log level dynamically

**What this PR does / why we need it**:

#63777 introduced a way to set glog.logging.verbosity dynamically. 
We should enable this for all other components, which is specially useful in debugging. 


**Release note**:

```release-note
Expose `/debug/flags/v` to allow kubelet dynamically set glog logging level.  If want to change glog level to 3, you only have to send a PUT request like `curl -X PUT http://127.0.0.1:8080/debug/flags/v -d "3"`.
```
2018-08-15 21:32:46 -07:00
..
portforward error text refers to wrong stream type 2018-08-07 18:20:24 -07:00
remotecommand Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
stats Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
streaming Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD run update all 2018-08-15 17:18:27 +08:00
auth.go
auth_test.go
doc.go
server.go Merge pull request #64601 from hzxuzhonghu/cm-dynamic-loglevel-set 2018-08-15 21:32:46 -07:00
server_test.go kubelet: plumb context for log requests 2018-08-10 17:35:46 -07:00
server_websocket_test.go Update unit test. 2018-05-31 15:26:32 -07:00