Join GitHub today
Add "only_cpu_and_memory" GET parameter to /stats/summary http handler in kubele #67829
What this PR does / why we need it:
^ i have the same question. ;-)
@krzysztof-jastrzebski please add a release note explaining your change.
changed the title from
Add /stats/cpuandmemory http handller to kubelet.
Add "only_cpu_and_memory" GET parameter to /stats/summary http handler in kubele
Aug 27, 2018
@krzysztof-jastrzebski This seems to be a way to implement core metrics in the kubelet. Back when I proposed the set of core metrics, sig-instrumentation wasn't ready to consume scoped-down metrics in heapster (which has now become the metrics server), and thus we punted on adding the new endpoint. IMO, if the metrics-server is in a position to consume core metrics, we should define the core metrics endpoint, rather than making this change. That way we can also begin the process of removing dependencies on the summary api.
referenced this pull request
Sep 11, 2018
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing