Files
Davanum Srinivas 0c61430054 kubelet: adopt lib/model pointer sub-stats and restore the stats nil-checks
github.com/google/cadvisor/lib v0.60.2 models the per-subsystem container
stats (Cpu, Memory, Network, DiskIo, Processes) as pointers, so a nil
again distinguishes "not collected" from a collected zero. Restore the
kubelet's original nil-checks in helper.go and cadvisor_stats_provider.go
(now equivalent to the pre-lib code), adapt the test fixtures and winstats
to build pointer sub-stats, and bump the vendored lib to v0.60.2.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-06-24 13:46:45 -04:00
..