45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
grafana:
|
|
persistence:
|
|
enabled: true
|
|
storageClassName: nfs-delete
|
|
size: 5Gi
|
|
# Installs the Infinity datasource plugin so Grafana can query a plain
|
|
# REST API (actual-http-api) directly — see README for wiring it up.
|
|
# The datasource itself (URL + x-api-key) is added by hand in the Grafana
|
|
# UI, not provisioned here — avoids a second hand-created Secret just for
|
|
# this one credential.
|
|
plugins:
|
|
- yesoreyeram-infinity-datasource
|
|
# Not a WAN-latency problem — default ndots:5 makes every external FQDN
|
|
# lookup (grafana.com here) burn through 4 failed cluster-search-domain
|
|
# queries before trying the bare name, costing several seconds. That
|
|
# alone exceeded grafana-cli's request timeout on plugin install and
|
|
# crash-looped the pod (confirmed: 4-7s hang with ndots:5 vs 8ms with
|
|
# ndots:1 for the exact same lookup, from the same node). Same root cause
|
|
# already hit and fixed this way in homelab-services' ignis chart.
|
|
dnsConfig:
|
|
options:
|
|
- name: ndots
|
|
value: "1"
|
|
|
|
prometheus:
|
|
prometheusSpec:
|
|
storageSpec:
|
|
volumeClaimTemplate:
|
|
spec:
|
|
storageClassName: nfs-delete
|
|
resources:
|
|
requests:
|
|
storage: 20Gi
|
|
retention: 15d
|
|
|
|
alertmanager:
|
|
alertmanagerSpec:
|
|
storage:
|
|
volumeClaimTemplate:
|
|
spec:
|
|
storageClassName: nfs-delete
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|