# prometheus

![Version: 25.20.2](https://img.shields.io/badge/Version-25.20.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.51.2](https://img.shields.io/badge/AppVersion-v2.51.2-informational?style=flat-square)

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| file://../hopsworkslib | hopsworkslib | 0.1.0 |
| https://prometheus-community.github.io/helm-charts | prometheus | 25.20.2 |
| https://prometheus-community.github.io/helm-charts | prometheus-adapter | 4.11.0 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| adapter.enabled | bool | `true` |  |
| configAnnotations | object | `{}` | alertmanager-tmpl config map annotations  |
| externalLoadBalancer.enabled | bool | `false` | Enable External Load Balancers for Prometheus server. If not set the .global._hopsworks.externalLoadBalancers.enabled will be used instead. If enabled AND you want the LoadBalancer to be **managed** you shall set prometheus.server.service.type: LoadBalancer - NOTE: Consul domain name will be a CNAME to LoadBalancer domain name If enabled AND you want the LoadBalancer to be **unmanged** you shall set prometheus.server.service.type: NodePort - NOTE: This only works in AWS |
| externalLoadBalancer.managed | string | `nil` | Cloud provider provisions Load Balancers. If not set the .global._hopsworks.externalLoadBalancers.managed will be used instead |
| externalLoadBalancer.nodeSelector | object | `{}` | selector for nodes the load balancer can use to route traffic |
| hopsworkslib | object | `{}` | override hopsworkslib values |
| prometheus | object | check [values.yaml](./values.yaml) for more information | override prometheus values |
| prometheus-adapter | object | `{"dnsConfig":{"searches":["service.consul"]},"image":{"pullPolicy":"IfNotPresent","repository":"docker.hops.works/hopsworks/prometheus-adapter","tag":"v0.12.0"},"nameOverride":"hopsworks-prometheus-adapter","nodeSelector":{},"prometheus":{"path":"","port":9090,"url":"http://prometheus.service.consul"},"resources":{"limits":{"cpu":"100m","memory":"70Mi"},"requests":{"cpu":"50m","memory":"40Mi"}},"rules":{"existing":"custom-prometheus-metrics-adapter"},"tolerations":[],"topologySpreadConstraints":[{"labelSelector":{"matchLabels":{"app.kubernetes.io/instance":"hopsworks","app.kubernetes.io/name":"hopsworks-prometheus-adapter"}},"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"ScheduleAnyway"}]}` | override prometheus-adapter values |