Kubernetes Metrics Server (KMS)
wikipedia:Kubernetes Metrics Server collects resource metrics from Kubelets and exposes them in Kubernetes apiserver through Metrics API for use by Horizontal Pod Autoscaler (HPA), Vertical Pod Autoscaler (VPA) and kubectl top
.
Installation
helm repo add metrics-server https://kubernetes-sigs.github.io/metrics-server/
helm upgrade --install metrics-server metrics-server/metrics-server
helm install --set 'args={--kubelet-insecure-tls}' --namespace kube-system metrics-server stable/metrics-server]]
Related
- CPU, https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes
kubectl top
- Kubernetes dashboard
- Kubernetes API Server
kubectl get pods
- Kube-state-metrics (KSM)
- Prometheus
See also
- Kubernetes Metrics Server, Kubernetes autoscaling,
kubectl top
- Kubernetes autoscaling, HPA, VPA, Karpenter, Kubernetes Autoscaler,
kubectl autoscale
, Kubernetes Metrics Server (KMS) - K8s troubleshooting:
kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,errImagePull, ImagePullBackOff
, Kubelet conditions:MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
Advertising: