Skip to content

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.1.0 (Hopsworks 5.1.0).

Deployed when global._hopsworks.full_platform is true.

Upstream charts

  • Values under prometheus.prometheus go to prometheus 25.20.2 from https://prometheus-community.github.io/helm-charts.
  • Values under prometheus.prometheus-adapter go to prometheus-adapter 4.11.0 from https://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

Default
prometheus:
  server:
    persistentVolume:
      enabled: true
      storageClass: null
prometheus.adapter.enabled #
Type bool, default true.
prometheus.configAnnotations #
Type object, default {}. alertmanager-tmpl config map annotations
prometheus.externalLoadBalancer.enabled #
Type bool, default 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
prometheus.externalLoadBalancer.managed #
Type string, default nil. 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 the prometheus 25.20.2 chart, whose other values are documented there. override prometheus values
prometheus.prometheus-adapter #

Type object, passed to the prometheus-adapter 4.11.0 chart, whose other values are documented there. override prometheus-adapter values

Default
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