k3s/namespaces/core/postgres/extra/gatus-endpoints.yaml

27 lines
694 B
YAML

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