k3s/namespaces/longhorn/longhorn/extra/gatus-endpoints.yaml

27 lines
696 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
labels:
homelab.kubernetes.io/k8s-sidecar: gatus
name: gatus-endpoints
data:
Longhorn-internal-gatus-endpoints.yaml: |
endpoints:
- name: Longhorn
url: http://longhorn-frontend.longhorn.svc.cluster.local/
group: Internal/Core
interval: 5m
alerts:
- type: ntfy
conditions:
- "[STATUS] == 200"
# Longhorn-external-gatus-endpoints.yaml: |
# endpoints:
# - name: Longhorn
# url: https://Longhorn.leechpepin.com/
# group: External
# interval: 5m
# alerts:
# - type: ntfy
# conditions:
# - "[STATUS] == 200"