theshire/kubernetes/apps/database/crunchy-postgres-operator/cluster/gatus.yaml
Joseph Hanson 3251d8240b
adding database workloads
crunchy postgres
dragonfly
emqx
2024-09-05 01:33:23 -05:00

21 lines
454 B
YAML

---
apiVersion: v1
kind: ConfigMap
metadata:
name: postgres-gatus-ep
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: postgres
group: infrastructure
url: tcp://postgres-primary.database.svc.cluster.local:5432
interval: 1m
ui:
hide-url: true
hide-hostname: true
conditions:
- "[CONNECTED] == true"
alerts:
- type: pushover