metrics-server

by groundhog2k

Helm chartv2.13.2App v0.5.1

A Helm chart for Kubernetes metrics-server

About this chart

⚠️ Deprecation and Archive Notice

This chart version (v2.13.2) is the last update and the chart is deprecated and will no longer be maintained.

A new chart of the original metrics-server project was release at kubernetes-sigs/metrics-server

metrics-server

Metrics Server is a cluster-wide aggregator of resource usage data. Resource metrics are used by components like kubectl top and the Horizontal Pod Autoscaler to scale workloads. To autoscale based upon a custom metric, see the Prometheus Adapter chart.

Configuration

ParameterDescriptionDefault
rbac.createEnable Role-based authenticationtrue
serviceAccount.createIf true, create a new service accounttrue
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template``
apiService.createCreate the v1beta1.metrics.k8s.io API servicetrue
hostNetwork.enabledEnable hostNetwork modefalse
image.repositoryImage repositoryk8s.gcr.io/metrics-server/metrics-server
image.tagImage tag""
image.pullPolicyImage pull policyIfNotPresent
imagePullSecretsImage pull secrets[]
argsCommand line arguments[]
resourcesCPU/Memory resource requests/limits.{}
tolerationsList of node taints to tolerate (requires Kubernetes >=1.6)[]
strategy.typePod deployment strategy"RollingUpdate"
strategy.type.rollingUpdate.maxUnavailableMaximum unavailable pods during update0
nodeSelectorNode labels for pod assignment{}
affinityNode affinity{}
replicasNumber of replicas1
livenessProbeContainer liveness probeSee values.yaml
podLabelsLabels to be added to pods{}
podAnnotationsAnnotations to be added to pods{}
priorityClassNamePod priority class""
readinessProbeContainer readiness probeSee values.yaml
service.annotationsAnnotations to add to the service{}
service.labelsLabels to be added to the metrics-server service{}
service.portService port to expose443
service.typeType of service to createClusterIP
podDisruptionBudget.enabledCreate a PodDisruptionBudgetfalse
podDisruptionBudget.minAvailableMinimum available instances; ignored if there is no PodDisruptionBudget
podDisruptionBudget.maxUnavailableMaximum unavailable instances; ignored if there is no PodDisruptionBudget
testImage.repositoryImage repository and name for test pod. See also imagePullSecretsbusybox
testImage.tagImage tag for test podlatest
testImage.pullPolicyImage pull policy for test podIfNotPresent

Deploy metrics-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has metrics-server on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmetrics-server is pinned at v2.13.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply