Prometheus values#
Values under prometheus configure Prometheus, which collects cluster and service metrics, and the Prometheus adapter, which exposes them to autoscalers.
Generated from the Hopsworks Helm chart 5.2.0-alpha-1791549041 (Hopsworks 5.2.0).
Deployed when global._hopsworks.full_platform is true.
Upstream charts
- Values under
prometheus.prometheusgo toprometheus25.20.2 fromhttps://prometheus-community.github.io/helm-charts. - Values under
prometheus.prometheus-adaptergo toprometheus-adapter4.11.0 fromhttps://prometheus-community.github.io/helm-charts.
Only the values Hopsworks sets under prometheus.prometheus and prometheus.prometheus-adapter are listed on this page. Any other value of the charts can be set under the same keys; each link opens the chart's documentation for the version Hopsworks pins.
Defaults as YAML
prometheus:
adapter:
enabled: true
configAnnotations: {}
externalLoadBalancer:
enabled: false
managed: null
nodeSelector: {}
hopsworkslib: {}
prometheus:
server:
persistentVolume:
enabled: true
storageClass: null
prometheus-adapter:
dnsConfig:
searches:
- service.consul
image:
pullPolicy: IfNotPresent
repository: docker.hops.works/prometheus/prometheus-adapter
tag: 0.12.0-alpine-h1.1
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
prometheus#-
Type
object. override prometheus values prometheus.adapter.enabled#- Type
bool, defaulttrue. prometheus.configAnnotations#- Type
object, default{}. alertmanager-tmpl config map annotations prometheus.externalLoadBalancer.enabled#- Type
bool, defaultfalse. 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 prometheus.externalLoadBalancer.managed#- Type
string, defaultnil. Cloud provider provisions Load Balancers. If not set the .global._hopsworks.externalLoadBalancers.managed will be used instead prometheus.externalLoadBalancer.nodeSelector#- Type
object, default{}. selector for nodes the load balancer can use to route traffic prometheus.hopsworkslib#- Type
object, default{}. override hopsworkslib values prometheus.prometheus#- Type
object, default check [values.yaml](./values.yaml) for more information, passed to theprometheus25.20.2 chart, whose other values are documented there. override prometheus values prometheus.prometheus-adapter#-
Type
object, passed to theprometheus-adapter4.11.0 chart, whose other values are documented there. override prometheus-adapter valuesDefault
dnsConfig: searches: - service.consul image: pullPolicy: IfNotPresent repository: docker.hops.works/prometheus/prometheus-adapter tag: 0.12.0-alpine-h1.1 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