mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-13 05:32:14 +00:00
63 lines
1.7 KiB
YAML
63 lines
1.7 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/aaisp-exporter
|
|
# -- image tag
|
|
tag: 0.2.1
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
# -- environment variables. See more environment variables in the [aaisp-exporter documentation](https://github.com/nikdoof/aaisp-chaos/tree/master/cmd/aaisp_exporter).
|
|
# @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
|
|
|
|
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 additional rules for the chart under this key.
|
|
# @default -- See prometheusrules.yaml
|
|
rules:
|
|
- alert: AAISPExporterAbsent
|
|
annotations:
|
|
description: AAISP Exporter has disappeared from Prometheus service discovery.
|
|
summary: AAISP Exporter is down.
|
|
expr: |
|
|
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
|
|
for: 5m
|
|
labels:
|
|
severity: critical
|