The Metrics Server is an aggregator of resource usage data in your Kubernetes cluster. The RealTheory Collector requires the Metrics Server to be installed on the Kubernetes cluster.
The Metrics Server is automatically installed with some managed versions of Kubernetes. The following table indicates which managed Kubernetes offerings include the Metrics Server as part of the standard offering.
Managed Kubernetes Offering | Includes Metrics Server | More Information |
|---|---|---|
AKS | Yes |
|
GKE | Yes |
|
EKS | No |
To check if your cluster is running the Metrics Server, do one of the following:
kubectl get deployment metrics-server \-n kube-systemNAME READY UP-TO-DATE AVAILABLE AGE metrics-server 1/1 1 1 25h kubectl get \--raw "/apis/metrics.k8s.io/v1beta1/nodes"{"kind":"NodeMetricsList","apiVersion":"metrics.k8s.io/v1beta1","metadata":{"selfLink":"/apis/metrics.k8s.io/v1beta1/nodes"},"items":\[{"metadata": {"name":"cirrus12","selfLink":"/apis/metrics.k8s.io/v1beta1/nodes/cirrus12", "creationTimestamp":"2019-08-08T23:59:49Z"},"timestamp":"2019-08-08T23:59:08Z", "window":"30s","usage":{"cpu":"1738876098n","memory":"8406880Ki"}}\]}See Also
For more information on the Kubernetes Metrics Server, including installation instructions, see https://github.com/kubernetes-sigs/metrics-server.
On This Page
Search for a command to run...