Metrics Server
The resource metrics pipeline provides a limited set of metrics related to cluster components such as the Horizontal Pod Autoscaler controller, as well as the kubectl top utility. These metrics are collected by the lightweight, short-term, in-memory metrics-server and are exposed via the metrics.k8s.io API.
flowchart BT
subgraph cluster[Cluster]
direction RL
S[
]
A[Metrics-
Server]
subgraph B[Nodes]
direction TB
D[cAdvisor] --> C[kubelet]
E[Container
runtime] --> D
E1[Container
runtime] --> D
P[pod data] -.- C
end
L[API
server]
W[HPA]
C ---->|Summary
API| A -->|metrics
API| L --> W
end
L ---> K[kubectl
top]
classDef box fill:#fff,stroke:#000,stroke-width:1px,color:#000;
class W,B,P,K,cluster,D,E,E1 box
classDef spacewhite fill:#ffffff,stroke:#fff,stroke-width:0px,color:#000
class S spacewhite
classDef k8s fill:#326ce5,stroke:#fff,stroke-width:1px,color:#fff;
class A,L,C k8s