Kubernetes Metrics Server Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Installation

https://github.com/kubernetes-sigs/metrics-server#requirements

Docker Desktop Kubernetes

Install

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml

clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader created
clusterrolebinding.rbac.authorization.k8s.io/metrics-server:system:auth-delegator created
rolebinding.rbac.authorization.k8s.io/metrics-server-auth-reader created
apiservice.apiregistration.k8s.io/v1beta1.metrics.k8s.io created
serviceaccount/metrics-server created
deployment.apps/metrics-server created
service/metrics-server created
clusterrole.rbac.authorization.k8s.io/system:metrics-server created
clusterrolebinding.rbac.authorization.k8s.io/system:metrics-server created

It is deployed in the 'kube-system' namespace.

EKS

https://docs.aws.amazon.com/eks/latest/userguide/horizontal-pod-autoscaler.html

Installation Validation

kubectl top