k3s/pkg/kubelet/server
Yu-Ju Hong 191666d6a3 Fix computing of cpu nano core usage
CRI runtimes do not supply cpu nano core usage as it is not part of CRI
stats. However, there are upstream components that still rely on such
stats to function. The previous fix was faulty because the multiple
callers could compete and update the stats, causing
inconsistent/incoherent metrics. This change, instead, creates a
separate call for updating the usage, and rely on eviction manager,
which runs periodically, to trigger the updates. The caveat is that if
eviction manager is completley turned off, no one would compute the
usage.
2019-03-05 09:25:40 -08:00
..
portforward Fix lint on pkg/kubelet/server/... 2019-02-21 10:31:41 -05:00
remotecommand Fix golint failures 2019-02-12 07:14:57 -05:00
stats Fix computing of cpu nano core usage 2019-03-05 09:25:40 -08:00
streaming Fix lint on pkg/kubelet/server/... 2019-02-21 10:31:41 -05:00
BUILD autogen files 2019-01-17 09:16:36 -05:00
auth.go Fix lint on pkg/kubelet/server/... 2019-02-21 10:31:41 -05:00
auth_test.go
doc.go
server.go Merge pull request #73966 from alculquicondor/fix/lint-kubelet-server 2019-02-25 20:27:48 -08:00
server_test.go Fix computing of cpu nano core usage 2019-03-05 09:25:40 -08:00
server_websocket_test.go Update unit test. 2018-05-31 15:26:32 -07:00