Salt la conținutul principal
Microsoft
separator
https://catalogartifact.azureedge.net/publicartifacts/pcloudhosting.metricsserver-660554cb-9cb0-48f3-b62b-c30ef9e28267/image3_image.png

Metrics Server

de pcloudhosting

(1 evaluări)

Version 3.13.0+ Free Support on Ubuntu 24.04

The Metrics Server is a lightweight, cluster-wide aggregator of resource usage data in Kubernetes. It collects metrics such as CPU and memory usage from nodes and pods, providing real-time insights into cluster performance. Metrics Server is designed for efficient resource utilization and high concurrency, making it essential for Kubernetes autoscaling and monitoring in cloud-native environments.

Features of Metrics Server:

  • Collects CPU and memory metrics from nodes and pods.
  • Provides real-time resource usage for monitoring and autoscaling.
  • Supports Kubernetes Horizontal Pod Autoscaler (HPA).
  • Runs as a cluster service communicating with kubelets.
  • Lightweight and optimized for low resource consumption.
  • Essential for kubectl commands like kubectl top nodes and kubectl top pods.
Common Metrics Server Commands:
$ kubectl top nodes
$ kubectl top pods -A
$ kubectl get deployment metrics-server -n kube-system
$ kubectl logs -n kube-system deployment/metrics-server
  

To Check Metrics Server Version:
$ kubectl get deployment metrics-server -n kube-system -o yaml | grep image:

Access Metrics Server Information:
  • Namespace: kube-system
  • Deployment Name: metrics-server
  • Logs and Pod Status: kubectl logs -n kube-system deployment/metrics-server
  • Version: kubectl get deployment metrics-server -n kube-system -o yaml | grep image:

Disclaimer: Metrics Server is open-source software maintained by the Kubernetes community. It is provided "as is" without warranties or guarantees. Users are responsible for proper configuration, security hardening, resource monitoring, and compliance with Kubernetes best practices.

Română (Republica Moldova)
Pictograma Renunțare la opțiunile de confidențialitate Opțiunile dumneavoastră de confidențialitate
Confidențialitatea pentru sănătatea consumatorilor Hartă de site Contactați-ne Confidențialitate și module cookie Condiții de utilizare Mărci comerciale Despre reclame Gestionați modulele cookie