David Ashpole
64af1adace
Second attempt: Plumb context to Kubelet CRI calls ( #113591 )
...
* plumb context from CRI calls through kubelet
* clean up extra timeouts
* try fixing incorrectly cancelled context
2022-11-05 06:02:13 -07:00
Antonio Ojea
9c2b333925
Revert "plumb context from CRI calls through kubelet"
...
This reverts commit f43b4f1b95
.
2022-11-02 13:37:23 +00:00
David Ashpole
f43b4f1b95
plumb context from CRI calls through kubelet
2022-10-28 02:55:28 +00:00
Kir Kolyshkin
4513de06a8
Regen mocks using go 1.18
...
Generated by ./hack/update-mocks.sh using go 1.18
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:38 -07:00
vikram Jadhav
0de4397490
mockery to mockgen conversion
2021-09-25 16:15:08 +00:00
Niels de Vos
e22012950b
Add Kubelet.ListBlockVolumesForPod()
2021-04-22 08:36:20 +02:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
David Ashpole
1f70708f6c
update cAdvisor to v0.37.0
2020-07-09 10:23:10 -07:00
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
Krzysztof Jastrzebski
3b21995c95
Process only CPU and memory stats when Kubelete stats API is called with
...
only_cpu_and_memory parameter. Before all stats were processed and
removed before returning.
2018-09-20 12:35:56 +02:00
Derek Carr
a09990cd43
Apply pod name and namespace labels for pod cgroup for cadvisor metrics
2018-05-07 14:51:12 -04:00
fisherxu
b49ef6531c
regenerated all files and remove all YEAR fields
2018-03-08 17:52:48 +08:00
David Ashpole
960856f4e8
collect metrics on the /kubepods cgroup on-demand
2018-02-17 12:32:40 -08:00
Da K. Ma
9a78753144
Updated PID pressure node condition.
...
Signed-off-by: Da K. Ma <madaxa@cn.ibm.com>
2018-01-14 18:26:00 +08:00
David Ashpole
f6721480f4
enable on-demand metrics for eviction
2018-01-08 10:20:02 -08:00
Yang Guo
f9767d2f71
Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor
2017-08-25 13:11:26 -07:00