Skip to content
KEP Brain

KEP-2129keps/sig-node/2129-remove-cadvisor-json-metrics

Disable cAdvisor json Metrics

implementedstablesig-nodelatest v1.21
This KEP outlines the process to deprecate cAdvisor json metrics collected by Kubelet. This is one step towards removing cAdvisor APIs from the kubelet, which has been a long-time goal of sig-node. cAdvisor only supports linux, and only supports a small set of container runtimes. For that reason, sig-node has historically wanted to allow vendors to replac… Full summary

This KEP outlines the process to deprecate cAdvisor json metrics collected by Kubelet. This is one step towards removing cAdvisor APIs from the kubelet, which has been a long-time goal of sig-node. cAdvisor only supports linux, and only supports a small set of container runtimes. For that reason, sig-node has historically wanted to allow vendors to replace cAdvisor without paying a double-collection performance penalty. This hasn't been achieved yet, despite some incremental progress. This KEP is another small step towards that goal. Note that cAdvisor endpoints are not believed to be widely used. They were entirely broken for multiple releases before someone reported it: kubernetes/kubernetes#62544. This was originally part of the "metrics overhaul" KEP, but was removed because it had not been completed. There were also concerns raised about removing these metrics. cAdvisor json metrics were disabled by default starting in 1.18, and could be re-enabled by setting --enable-cadvisor-json-endpoints to true. However, given the concerns about removing the endpoints, we want to re-visit the deprecation and removal of these metrics before removing them permanently.

Facts

Authors
@dashpole
PRR approvers
@johnbelamaricstable
Tracking issue
#2129(opens GitHub in a new tab) closedcompletedclosed 2021-12-31 09:46 UTCmilestone v1.21sig/nodestage/stablelifecycle/rotten
Milestones
alpha v1.21beta v1.21stable v1.21
Participating SIGs
sig-instrumentation
Feature gates
none
Created / last updated
2020-10-04 / 2021-03-10
Loading decisions and status history

Keyboard shortcuts

Everywhere

?
Show or hide this list
/
Focus the question box on Ask, otherwise the page search
Ctrl Kor⌘ K
Focus the KEP search in the top bar
t
Switch the theme (system, light, dark)
Esc
Close a dialog, a search list or a menu

Go to a page

Press g, then the letter

g h
Home
g a
Ask
g e
Explore
g u
Audit
g m
Memory
g b
About

Ask

Enter
Send the question
Shift Enter
New line in the question
Esc
Cancel the running question

Search lists

KEP search and Explore search

↓or↑
Move through the results
HomeorEnd
First or last result (Explore)
Enter
Open the highlighted result, or KEP-n when the query is a number

KEP page

o
Open the KEP on GitHub
y
Open kep.yaml on GitHub
a
Ask about this KEP
←or→
Previous or next tab, when a tab is focused

Findings table

With a finding row focused (Tab into the table or click a row)

jork
Next or previous finding
EnterorSpace
Expand or collapse the finding
o
Open the finding's KEP page
d
Draft the fix as an issue text (nothing is posted)
]or[
Next or previous page of findings

Shortcuts pause while you type in a field. Press ? or Esc to close.