Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Metrics server in kubernetes

Sumit Rawal answered on September 2, 2023 Popularity 9/10 Helpfulness 3/10

Contents


More Related Answers

  • get current cluster kubectl
  • kubernetes clusterip service template
  • kubernetes service yaml
  • kubernetes get services
  • kubernetes get deployments
  • kubectl top metrics api not available
  • What are the different types of services in Kubernetes?
  • get kubernetes cluster name
  • What is a Kubernetes Cluster?
  • Creating a kubernetes service cluster
  • service type kubernetes
  • What is Kubernetes? (The most popular Container Orchestrator)
  • kubernetes pod
  • kubernetes kustomize kubectl
  • deploy Kubernetes dashboard into the cluster
  • what is kubernetes
  • What is a pod in Kubernetes?
  • what is kubernetes used for
  • kube cluster
  • kubernetes kustomize
  • Why (and when) you should use Kubernetes
  • What do you know about clusters in Kubernetes?
  • kube cluster
  • kubernetes clusterip
  • kubernetes get cluster
  • What are some features of Kubernetes?
  • Where is the Kubernetes Cluster data stored?
  • Which of the following was introduced in Kubernetes version 1.8?
  • TLS ingress Kubernetes

  • Metrics server in kubernetes

    1

    Metrics Server is a scalable, efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.

    Metrics Server collects resource metrics from Kubelets and exposes them in Kubernetes apiserver through Metrics API for use by Horizontal Pod Autoscaler and Vertical Pod Autoscaler. Metrics API can also be accessed by kubectl top, making it easier to debug autoscaling pipelines.

    Metrics Server is not meant for non-autoscaling purposes. For example, don't use it to forward metrics to monitoring solutions, or as a source of monitoring solution metrics. In such cases please collect metrics from Kubelet /metrics/resource endpoint directly.

    Metrics Server offers:

    A single deployment that works on most clusters (see Requirements)

    Fast autoscaling, collecting metrics every 15 seconds.

    Resource efficiency, using 1 mili core of CPU and 2 MB of memory for each node in a cluster.

    Scalable support up to 5,000 node clusters.

    Use cases

    You can use Metrics Server for:

    CPU/Memory based horizontal autoscaling (learn more about Horizontal Autoscaling)

    Automatically adjusting/suggesting resources needed by containers (learn more about Vertical Autoscaling)

    Don't use Metrics Server when you need:

    Non-Kubernetes clusters

    An accurate source of resource usage metrics

    Horizontal autoscaling based on other resources than CPU/Memory

    For unsupported use cases, check out full monitoring solutions like Prometheus. 


    Popularity 9/10 Helpfulness 3/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Sep 02 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.