Metrics in Kubernetes

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Resource

Metrics

Resource Metrics

A resource metric is a numeric quantity that tracks the value of a resource specified by a Kubernetes API resource. By default, the only two supported resource metrics are the CPU utilization of a container and the memory consumed by a container. These resources do not change names from cluster to cluster and they should be available as long the Resource Metrics API is available.

Custom Metrics

Aside from resource metrics, there are two other types of metrics, both of which are considered custom metrics: pod metrics and object metrics.

Pod Metrics

These resource describe pods.

Object Metrics

These resources describe different objects in the same namespace, instead of describing pods.

Kubernetes Metrics Server

Kubernetes Metrics Server

Resource Metrics API

metrics.k8s.io

TODO:

Metric Pipeline

Notes