core-deployments/prometheus/values.yaml

139 lines
3.9 KiB
YAML
Raw Normal View History

2023-04-20 01:39:36 +02:00
alertmanager:
alertmanagerSpec:
2024-02-09 04:41:59 +01:00
podAntiAffinity: "hard"
replicas: 2
secrets:
- "telegram-api"
configMaps:
- "templates"
2023-08-31 00:29:12 +02:00
storage:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi
useExistingSecret: false
config:
global:
resolve_timeout: 5m
templates:
2023-09-15 01:43:41 +02:00
- '/etc/alertmanager/configmaps/templates/telegram.tmpl'
route:
group_by: ['alertname']
group_wait: 30s
group_interval: 30s
repeat_interval: 24h
receiver: 'tg1'
routes:
- matchers:
- severity=warning
receiver: 'tg1'
- matchers:
- severity=critical
receiver: 'tg1'
receivers:
- name: tg1
telegram_configs:
2023-09-15 01:43:41 +02:00
- bot_token_file: '/etc/alertmanager/secrets/telegram-api/api_key'
chat_id: -995270884
api_url: "https://api.telegram.org"
send_resolved: true
parse_mode: "HTML"
message: '{{ template "telegram.aaron" .}}'
inhibit_rules:
- source_matchers:
- severity = critical
target_matchers:
- severity = warning
2023-12-18 17:33:47 +01:00
- severity = info
equal: ['node']
2024-01-31 16:19:42 +01:00
- source_matchers:
- alertname = KubeNodeUnreachable
target_matchers:
- severity =~ "warning|info"
ingress:
2023-06-20 08:54:19 +02:00
paths:
- /
enabled: true
hosts:
- alertmanager.services.yolokube.de
annotations:
2024-02-18 06:17:03 +01:00
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
ingressPerReplica:
2023-06-20 09:06:13 +02:00
pathType: ImplementationSpecific
2023-06-20 08:56:06 +02:00
paths:
- /
enabled: true
hostPrefix: alertmanager
hostDomain: services.yolokube.de
annotations:
2024-02-18 06:17:03 +01:00
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
servicePerReplica:
enabled: true
podAntiAffinity: "hard"
grafana:
defaultDashboardsTimezone: Europe/Berlin
ingress:
enabled: true
hosts:
- grafana.services.yolokube.de
2023-06-29 12:02:54 +02:00
persistence:
enabled: true
prometheus-node-exporter:
prometheus:
monitor:
enabled: true
relabelings:
- action: replace
sourceLabels: [__meta_kubernetes_endpoint_node_name]
targetLabel: node
extraArgs:
- '--collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)'
- '--collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$'
- '--collector.textfile.directory=/host/root/var/log/'
- '--collector.ethtool'
prometheus:
servicePerReplica:
enabled: true
ingress:
2023-06-20 08:54:19 +02:00
paths:
- /
enabled: true
hosts:
- prometheus.services.yolokube.de
annotations:
2024-02-18 06:17:03 +01:00
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
ingressPerReplica:
2023-06-20 09:06:13 +02:00
pathType: ImplementationSpecific
2023-06-20 08:56:06 +02:00
paths:
- /
enabled: true
hostPrefix: prometheus
hostDomain: services.yolokube.de
annotations:
2024-02-18 06:17:03 +01:00
traefik.ingress.kubernetes.io/router.middlewares: traefik-basic-auth@kubernetescrd
prometheusSpec:
retentionSize: "45GB"
replicas: 2
storageSpec:
volumeClaimTemplate:
spec:
2024-01-26 13:39:13 +01:00
storageClassName: longhorn-local
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 50Gi
ruleNamespaceSelector:
matchLabels:
prometheus: yolokube
ruleSelectorNilUsesHelmValues: false
serviceMonitorSelectorNilUsesHelmValues: false
podMonitorSelectorNilUsesHelmValues: false
probeSelectorNilUsesHelmValues: false
scrapeConfigSelectorNilUsesHelmValues: false
servicePerReplica:
enabled: true
2024-01-31 16:19:42 +01:00
podAntiAffinity: "hard"
defaultRules:
create: false