I am working with k8s v1.13.2 scraping CPU and memory stats for some of my application’s pods from the kubelet/cadvisor endpoint /stats/summary in order to do some internal load balancing. It works fine but the refresh rate of the endpoint is very slow on the order of 10-15 seconds which makes the stats stale for quick running workloads. I haven’t been able to find a tunable to change the frequency that the stats are updated in kubernetes. Can anyone suggest how to do this? Thanks!
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Unable to configure the cadvisor parameter in kublet | 2 | 1178 | September 18, 2019 | |
| Cadvisor metrics version 1.26k8s | 0 | 301 | December 14, 2023 | |
| We've been using /stats/summary to get metrics, We've tried /metrics/cadvisor and /metrics/resources, but were not successful to get all of the metrics defined in /stats/summary API. Please let us know what endpoint should be used to collect metrics | 0 | 456 | November 23, 2022 | |
| Kubelet stats/summary endpoint | 2 | 1722 | October 30, 2021 | |
| Kubernetes Podcast from Google: Instrumentation and cAdvisor, with David Ashpole | 0 | 937 | July 21, 2020 |