Skip to content

Commit 508f111

Browse files
PriyanshuAhlawatTim Bannister
andauthored
Update resource-metrics-pipeline.md (#32467)
* Update resource-metrics-pipeline.md * Update resource-metrics-pipeline.md * Update content/en/docs/tasks/debug-application-cluster/resource-metrics-pipeline.md Co-authored-by: Tim Bannister <[email protected]> Co-authored-by: Tim Bannister <[email protected]>
1 parent 3cadb66 commit 508f111

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/en/docs/tasks/debug-application-cluster/resource-metrics-pipeline.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
reviewers:
33
- fgrzadkowski
44
- piosz
5-
title: Resource metrics pipeline
5+
title: Resource metrics pipeline
66
content_type: concept
77
---
88

@@ -77,22 +77,23 @@ The architecture components, from right to left in the figure, consist of the fo
7777
* [Metrics API](#metrics-api): Kubernetes API supporting access to CPU and memory used for
7878
workload autoscaling. To make this work in your cluster, you need an API extension server that
7979
provides the Metrics API.
80-
80+
8181
{{< note >}}
8282
cAdvisor supports reading metrics from cgroups, which works with typical container runtimes on Linux.
8383
If you use a container runtime that uses another resource isolation mechanism, for example
8484
virtualization, then that container runtime must support
8585
[CRI Container Metrics](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/cri-container-stats.md)
8686
in order for metrics to be available to the kubelet.
8787
{{< /note >}}
88-
88+
8989
<!-- body -->
9090

9191
## Metrics API
92+
{{< feature-state for_k8s_version="1.8" state="beta" >}}
9293

9394
The metrics-server implements the Metrics API. This API allows you to access CPU and memory usage
9495
for the nodes and pods in your cluster. Its primary role is to feed resource usage metrics to K8s
95-
autoscaler components.
96+
autoscaler components.
9697

9798
Here is an example of the Metrics API request for a `minikube` node piped through `jq` for easier
9899
reading:
@@ -201,7 +202,7 @@ Memory is reported as the working set, measured in bytes, at the instant the met
201202

202203
In an ideal world, the "working set" is the amount of memory in-use that cannot be freed under
203204
memory pressure. However, calculation of the working set varies by host OS, and generally makes
204-
heavy use of heuristics to produce an estimate.
205+
heavy use of heuristics to produce an estimate.
205206

206207
The Kubernetes model for a container's working set expects that the container runtime counts
207208
anonymous memory associated with the container in question. The working set metric typically also
@@ -264,4 +265,3 @@ curl http://localhost:8080/api/v1/nodes/minikube/proxy/stats/summary
264265
The summary API `/stats/summary` endpoint will be replaced by the `/metrics/resource` endpoint
265266
beginning with metrics-server 0.6.x.
266267
{{< /note >}}
267-

0 commit comments

Comments
 (0)