Difference between revisions of "Kubernetes Metrics Server (KMS)"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
* <code>[[helm upgrade --install metrics-server metrics-server/metrics-server]]</code> | * <code>[[helm upgrade --install metrics-server metrics-server/metrics-server]]</code> | ||
− | [[helm install --set]] 'args={[[--kubelet-insecure-tls]]}' [[--namespace kube-system]] [[metrics-server]] | + | [[helm install --set]] 'args={[[--kubelet-insecure-tls]]}' [[--namespace kube-system]] [[metrics-server]] [[metrics-server/metrics-server]] |
Revision as of 14:28, 7 December 2022
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 metrics-server/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: