kubernetes/pkg/kubelet/server
Niels de Vos b997e0e4d6 Add SupportsMetrics() for Block-mode volumes
Volumes that are provisioned with `VolumeMode: Block` often have a
MetrucsProvider interface declared in their type. However, the
MetricsProvider should implement a GetMetrics() function. In the cases
where the storage drivers do not implement GetMetrics(), a panic can
occur.

Usual type-assertions are not sufficient in this case. All assertions
assume the interface is present. There is no straight forward way to
verify that a valid GetMetrics() function is provided.

By adding SupportsMetrics(), storage driver implementations require
careful reviewing for metrics support.
2021-05-20 17:10:23 +02:00
..
metrics hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
stats Add SupportsMetrics() for Block-mode volumes 2021-05-20 17:10:23 +02:00
auth_test.go deprecate cAdvisor json metrics collected by Kubelet 2021-03-02 15:36:21 +08:00
auth.go deprecate cAdvisor json metrics collected by Kubelet 2021-03-02 15:36:21 +08:00
doc.go
OWNERS Remove tallclair from some OWNERS files 2020-05-11 11:44:38 -07:00
server_test.go Add Kubelet.ListBlockVolumesForPod() 2021-04-22 08:36:20 +02:00
server_websocket_test.go Remove --redirect-container-streaming functionality (#95935) 2020-11-09 11:50:11 -08:00
server.go Migrate to structured logging 2021-03-05 17:55:48 +05:30