Compare commits
No commits in common. "c3e3714e4db54c7fe4dee2c31d4b82f817af8cff" and "c55cbcdefa993beea91662b716e41cf261c2df4f" have entirely different histories.
c3e3714e4d
...
c55cbcdefa
|
@ -129,11 +129,6 @@ spec:
|
||||||
cert-manager:
|
cert-manager:
|
||||||
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
||||||
datasource: Victoria
|
datasource: Victoria
|
||||||
longhorn:
|
|
||||||
# renovate: depName="Longhorn"
|
|
||||||
gnetId: 16888
|
|
||||||
revision: 8
|
|
||||||
datasource: Victoria
|
|
||||||
spegel:
|
spegel:
|
||||||
# renovate: depName="Spegel"
|
# renovate: depName="Spegel"
|
||||||
gnetId: 18089
|
gnetId: 18089
|
||||||
|
|
|
@ -26,8 +26,3 @@ spec:
|
||||||
nameservers:
|
nameservers:
|
||||||
- "1.1.1.1"
|
- "1.1.1.1"
|
||||||
- "9.9.9.9"
|
- "9.9.9.9"
|
||||||
prometheus:
|
|
||||||
servicemonitor:
|
|
||||||
enabled: true
|
|
||||||
labels:
|
|
||||||
release: kube-prometheus-stack
|
|
|
@ -1,21 +0,0 @@
|
||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: PrometheusRule
|
|
||||||
metadata:
|
|
||||||
name: prometheus-longhorn-rules
|
|
||||||
namespace: longhorn-system
|
|
||||||
labels:
|
|
||||||
release: kube-prometheus-stack
|
|
||||||
spec:
|
|
||||||
groups:
|
|
||||||
- name: longhorn.rules
|
|
||||||
rules:
|
|
||||||
- alert: LonghornVolumeUsageCritical
|
|
||||||
annotations:
|
|
||||||
description: Longhorn volume {{$labels.volume}} on {{$labels.node}} is at {{$value}}% used for
|
|
||||||
more than 5 minutes.
|
|
||||||
summary: Longhorn volume capacity is over 90% used.
|
|
||||||
expr: 100 * (longhorn_volume_usage_bytes / longhorn_volume_capacity_bytes) > 90
|
|
||||||
for: 5m
|
|
||||||
labels:
|
|
||||||
issue: Longhorn volume {{$labels.volume}} usage on {{$labels.node}} is critical.
|
|
||||||
severity: critical
|
|
|
@ -4,5 +4,3 @@ resources:
|
||||||
- ./namespace.yaml
|
- ./namespace.yaml
|
||||||
- ./helm-repository.yaml
|
- ./helm-repository.yaml
|
||||||
- ./helm-release.yaml
|
- ./helm-release.yaml
|
||||||
- ./alerts.yaml
|
|
||||||
- ./service-monitor.yaml
|
|
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: ServiceMonitor
|
|
||||||
metadata:
|
|
||||||
name: longhorn
|
|
||||||
namespace: longhorn-system
|
|
||||||
labels:
|
|
||||||
release: kube-prometheus-stack
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: longhorn-manager
|
|
||||||
endpoints:
|
|
||||||
- port: manager
|
|
Loading…
Reference in New Issue