Difference between revisions of "Kubernetes Metrics Server (KMS)"
Jump to navigation
Jump to search
(6 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
== Installation == | == Installation == | ||
− | * <code>[[helm repo add | + | * <code>[[helm repo add metrics-server]] https://kubernetes-sigs.github.io/metrics-server/</code> |
* <code>[[helm upgrade --install metrics-server metrics-server/metrics-server]]</code> | * <code>[[helm upgrade --install metrics-server metrics-server/metrics-server]]</code> | ||
− | + | * <code>[[helm install --set]] 'args={[[--kubelet-insecure-tls]]}' [[--namespace kube-system metrics-server metrics-server/metrics-server]]</code> | |
− | |||
* <code>[[kubectl get deployment metrics-server]] -n [[kube-system]]</code> | * <code>[[kubectl get deployment metrics-server]] -n [[kube-system]]</code> | ||
+ | * <code>[[minikube addons enable metrics-server]]</code> | ||
== Related == | == Related == | ||
Line 21: | Line 21: | ||
* [[Kube-state-metrics (KSM)]] | * [[Kube-state-metrics (KSM)]] | ||
* [[Prometheus]] | * [[Prometheus]] | ||
+ | * https://kubernetes.io/docs/reference/instrumentation/metrics/ | ||
== See also == | == See also == | ||
+ | * {{helm install metrics-server}} | ||
+ | * {{kubectl top}} | ||
* {{Kubernetes Metrics Server}} | * {{Kubernetes Metrics Server}} | ||
− | + | * {{K8s monitoring}} | |
− | * {{K8s | ||
[[Category:K8s]] | [[Category:K8s]] |
Latest revision as of 17:49, 28 February 2024
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[edit]
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[edit]
- 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
- https://kubernetes.io/docs/reference/instrumentation/metrics/
See also[edit]
helm install metrics-server
kubectl top [ node | pod ], nodes.metrics.k8s.io, metrics-server
- Kubernetes Metrics Server, Kubernetes autoscaling,
kubectl top
- Kubernetes monitoring, node conditions, Kube-state-metrics (KSM), Prometheus, VictoriaMetrics,
node-problem-detector, Thanos
, log collection,ProbeWarning
, Kubernetes node-problem-detector, Pixie, OpenMetrics,kind: PodMonitor
, Jaeger
Advertising: