Files
brilliant-monitoring/values-kube-prometheus-stack.yaml
2026-09-01 11:01:29 +00:00

86 lines
2.5 KiB
YAML

grafana:
enabled: true
adminPassword: "Enp129s0f0-0bS#rb!L!tyN#vv"
persistence:
enabled: true
size: 10Gi
service:
type: ClusterIP
prometheus:
prometheusSpec:
retention: 30d
retentionSize: "45GB"
resources:
requests: { cpu: 500m, memory: 1Gi }
limits: { cpu: "2", memory: 4Gi }
storageSpec:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources: { requests: { storage: 50Gi } }
configMaps:
- blackbox-targets
additionalScrapeConfigs:
- job_name: 'cpanel-node'
static_configs:
- targets: ['bwebhosting.brilliant.com.bd:9100']
labels: { role: 'cpanel-host' }
- job_name: 'cpanel-apache'
static_configs:
- targets: ['bwebhosting.brilliant.com.bd:9117']
- job_name: 'cpanel-mariadb'
static_configs:
- targets: ['bwebhosting.brilliant.com.bd:9104']
- job_name: 'cpanel-process'
static_configs:
- targets: ['bwebhosting.brilliant.com.bd:9256']
- job_name: 'cpanel-whm'
static_configs:
- targets: ['bwebhosting.brilliant.com.bd:9124']
- job_name: 'bind-dns'
static_configs:
- targets: ['dns1.intercloud-bd.net:9119','dns2.intercloud-bd.net:9119','dns3.intercloud-bd.net:9119']
- job_name: 'blackbox-http'
metrics_path: /probe
params: { module: [http_2xx] }
file_sd_configs:
- files:
- /etc/prometheus/configmaps/blackbox-targets/targets.json
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: blackbox-exporter-prometheus-blackbox-exporter.monitoring.svc.cluster.local:9115
- job_name: 'openstack_libvirt'
scrape_interval: 15s
scrape_timeout: 10s
static_configs:
- targets:
- '192.168.20.103:9177'
labels:
role: 'openstack-compute-libvirt'
compute_host: 'compute13.brilliant.com.bd'
alertmanager:
alertmanagerSpec:
storage:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources: { requests: { storage: 5Gi } }
config:
route:
receiver: 'default'
group_by: ['alertname', 'role']
group_wait: 30s
repeat_interval: 4h
receivers:
- name: default