Kubernetes Metrics Server: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=Overview= | =Overview= | ||
The Kubernetes metrics server, also referred to as "metrics-server" is a lightweight, short-term, in-memory server to collect and expose [[Metrics_in_Kubernetes#Resource_Metrics|resource metrics]]. metrics-server is used as part of the Kubernetes [[Metrics_in_Kubernetes#Resource_Metrics_Pipeline|resource metrics pipeline]]. The metrics server discovers all nodes on the cluster and queries each node's [[kubelet#Metrics_Collection|kubelet]] for [[Metrics_in_Kubernetes#Resource_Metrics|resource metrics]] (CPU and memory) then exposes these metric via the [[Metrics_in_Kubernetes#Resource_Metrics_API|Resource Metrics API]]. The API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports. | The Kubernetes metrics server, also referred to as "metrics-server" is a lightweight, short-term, in-memory server to collect and expose [[Metrics_in_Kubernetes#Resource_Metrics|resource metrics]]. metrics-server is used as part of the Kubernetes [[Metrics_in_Kubernetes#Resource_Metrics_Pipeline|resource metrics pipeline]]. The metrics server discovers all nodes on the cluster and queries each node's [[kubelet#Metrics_Collection|kubelet]] for [[Metrics_in_Kubernetes#Resource_Metrics|resource metrics]] (CPU and memory) then exposes these metric via the [[Metrics_in_Kubernetes#Resource_Metrics_API|Resource Metrics API]]. The Resource Metrics API is not available if the metrics server is not deployed. The API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports. | ||
=TODO= | =TODO= | ||
* Install the metric server for EKS: https://docs.aws.amazon.com/eks/latest/userguide/horizontal-pod-autoscaler.html | * Install the metric server for EKS: https://docs.aws.amazon.com/eks/latest/userguide/horizontal-pod-autoscaler.html |
Revision as of 23:58, 5 October 2020
External
Internal
Overview
The Kubernetes metrics server, also referred to as "metrics-server" is a lightweight, short-term, in-memory server to collect and expose resource metrics. metrics-server is used as part of the Kubernetes resource metrics pipeline. The metrics server discovers all nodes on the cluster and queries each node's kubelet for resource metrics (CPU and memory) then exposes these metric via the Resource Metrics API. The Resource Metrics API is not available if the metrics server is not deployed. The API is served at /metrics/resource/v1beta1 on the kubelet's authenticated and read-only ports.
TODO
- Install the metric server for EKS: https://docs.aws.amazon.com/eks/latest/userguide/horizontal-pod-autoscaler.html