Adding Immich Postgres to Gatus
This commit is contained in:
parent
b5b38fa27c
commit
f0e92fbe76
2 changed files with 22 additions and 0 deletions
21
kubernetes/apps/media/immich/app/gatus.yaml
Normal file
21
kubernetes/apps/media/immich/app/gatus.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: immich-postgres-gatus-ep
|
||||
labels:
|
||||
gatus.io/enabled: "true"
|
||||
data:
|
||||
config.yaml: |
|
||||
endpoints:
|
||||
- name: immich-postgres
|
||||
group: infrastructure
|
||||
url: tcp://immich-primary.media.svc.cluster.local:5432
|
||||
interval: 1m
|
||||
ui:
|
||||
hide-url: true
|
||||
hide-hostname: true
|
||||
conditions:
|
||||
- "[CONNECTED] == true"
|
||||
alerts:
|
||||
- type: pushover
|
|
@ -4,6 +4,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./configmap.yaml
|
||||
- ./gatus.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ./machine-learning
|
||||
- ./microservices
|
||||
|
|
Loading…
Reference in a new issue