mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-13 05:32:14 +00:00
82 lines
2.3 KiB
YAML
82 lines
2.3 KiB
YAML
#
|
|
# IMPORTANT NOTE
|
|
#
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
|
#
|
|
|
|
image:
|
|
# -- image repository
|
|
repository: ghcr.io/nikdoof/hg612-exporter
|
|
# -- image tag
|
|
tag: 0.1.2
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
# -- environment variables. See more environment variables in the [hg612-exporter documentation](https://hg612-exporter.org/docs).
|
|
# @default -- See below
|
|
env: {}
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
enabled: false
|
|
metrics:
|
|
enabled: true
|
|
protocol: TCP
|
|
port: 8080
|
|
|
|
ingress:
|
|
# -- Enable and configure ingress settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
main:
|
|
enabled: false
|
|
|
|
# -- Modem configuration details
|
|
# @default -- See below
|
|
modem:
|
|
# -- DNS name or IP of the HG612 modem.
|
|
host:
|
|
# -- Identifier to use in Prometheus for this modem.
|
|
identifier:
|
|
# -- How often to collect statistics from the modem.
|
|
interval: 10
|
|
|
|
metrics:
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
# @default -- See values.yaml
|
|
enabled: false
|
|
serviceMonitor:
|
|
interval: 1m
|
|
scrapeTimeout: 30s
|
|
labels: {}
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
# @default -- See values.yaml
|
|
prometheusRule:
|
|
enabled: false
|
|
labels: {}
|
|
# -- Configure additionial rules for the chart under this key.
|
|
# @default -- See prometheusrules.yaml
|
|
rules:
|
|
- alert: HG612ExporterAbsent
|
|
annotations:
|
|
description: HG612 Exporter has disappeared from Prometheus service discovery.
|
|
summary: HG612 Exporter is down.
|
|
expr: |
|
|
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
|
|
for: 5m
|
|
labels:
|
|
severity: critical
|
|
# -- Enable and configure Grafana dashboard ConfigMaps for the chart under this key.
|
|
# @default -- See values.yaml
|
|
dashboards:
|
|
create: false
|
|
# -- Namespace to create the dashboards ConfigMap under.
|
|
# @default -- The release's namespace
|
|
namespace:
|
|
labels:
|
|
grafana_dashboard: "true"
|