metrics-server
by groundhog2k
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
| Parameter | Description | Default |
|---|---|---|
rbac.create | Enable Role-based authentication | true |
serviceAccount.create | If true, create a new service account | true |
serviceAccount.name | Service account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template | `` |
apiService.create | Create the v1beta1.metrics.k8s.io API service | true |
hostNetwork.enabled | Enable hostNetwork mode | false |
image.repository | Image repository | k8s.gcr.io/metrics-server/metrics-server |
image.tag | Image tag | "" |
image.pullPolicy | Image pull policy | IfNotPresent |
imagePullSecrets | Image pull secrets | [] |
args | Command line arguments | [] |
resources | CPU/Memory resource requests/limits. | {} |
tolerations | List of node taints to tolerate (requires Kubernetes >=1.6) | [] |
strategy.type | Pod deployment strategy | "RollingUpdate" |
strategy.type.rollingUpdate.maxUnavailable | Maximum unavailable pods during update | 0 |
nodeSelector | Node labels for pod assignment | {} |
affinity | Node affinity | {} |
replicas | Number of replicas | 1 |
livenessProbe | Container liveness probe | See values.yaml |
podLabels | Labels to be added to pods | {} |
podAnnotations | Annotations to be added to pods | {} |
priorityClassName | Pod priority class | "" |
readinessProbe | Container readiness probe | See values.yaml |
service.annotations | Annotations to add to the service | {} |
service.labels | Labels to be added to the metrics-server service | {} |
service.port | Service port to expose | 443 |
service.type | Type of service to create | ClusterIP |
podDisruptionBudget.enabled | Create a PodDisruptionBudget | false |
podDisruptionBudget.minAvailable | Minimum available instances; ignored if there is no PodDisruptionBudget | |
podDisruptionBudget.maxUnavailable | Maximum unavailable instances; ignored if there is no PodDisruptionBudget | |
testImage.repository | Image repository and name for test pod. See also imagePullSecrets | busybox |
testImage.tag | Image tag for test pod | latest |
testImage.pullPolicy | Image pull policy for test pod | IfNotPresent |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmetrics-server is pinned at v2.13.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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