cristinelcalugarita / metrics-server

Cluster-wide aggregator of resource usage data.

Home Page:https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes Metrics Server

Metrics server is one of the components in core metrics pipeline described in Kubernetes monitoring architecture. Metrics server is responsible for collecting resource metrics from kubelets and exposing them in Kubernetes Apiserver through Metrics API. Main consumers of those metrics are kubectl top, HPA and VPA. Metric server stores only the latest values of metrics needed for core metrics pipeline (CPU, Memory) and is not responsible for forwarding metrics to third-party destinations.

Design

The detailed design of the project can be found in the following docs:

Requirements

Metrics server has particular requirements on cluster and network configuration that is not default for all cluster distributions. Please ensure that your cluster distribution supports those requirements before using metrics server:

Deployment

Compatibility matrix:

Metrics Server Metrics API group/version Supported Kubernetes version
0.3.x metrics.k8s.io/v1beta1 1.8+
0.2.x metrics.k8s.io/v1beta1 1.8+

In order to deploy metrics-server in your cluster run the following command:

$ kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.6/components.yaml

You can also use this helm chart to deploy the metric-server in your cluster (This isn't supported by the metrics-server maintainers): https://github.com/helm/charts/tree/master/stable/metrics-server

Have a question?

Before posting it an issue, first checkout Frequently Asked Questions.

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

This project is maintained by SIG Instrumentation

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

About

Cluster-wide aggregator of resource usage data.

https://kubernetes.io/docs/tasks/debug-application-cluster/resource-metrics-pipeline/

License:Apache License 2.0


Languages

Language:Go 97.1%Language:Makefile 1.8%Language:Shell 1.0%Language:Dockerfile 0.2%