flx: gatus

This commit is contained in:
auricom
2025-02-04 09:17:54 +01:00
parent 5c7e7c8189
commit 89b8bb35aa
2 changed files with 11 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
---
web:
port: ${CUSTOM_WEB_PORT}
port: 8080
storage:
type: sqlite
path: /config/sqlite.db
@@ -14,24 +14,25 @@ alerting:
pushover:
application-token: ${CUSTOM_PUSHOVER_APP_TOKEN}
user-key: ${CUSTOM_PUSHOVER_USER_KEY}
priority: 1
resolved-priority: 0
default-alert:
description: health-check failed
send-on-resolved: true
failure-threshold: 5
success-threshold: 2
success-threshold: 3
connectivity:
checker:
target: 192.168.8.1:53
interval: 1m
endpoints:
- name: status
- name: flux-webhook
group: external
url: https://status.${SECRET_EXTERNAL_DOMAIN}
url: https://flux-webhook.${CUSTOM_SECRET_EXTERNAL_DOMAIN}
interval: 1m
client:
dns-resolver: tcp://192.168.8.1:53
insecure: true
dns-resolver: tcp://1.1.1.1:53
conditions:
- "[STATUS] == 200"
- "[STATUS] == 404"
alerts:
- type: pushover

View File

@@ -54,9 +54,11 @@ spec:
repository: ghcr.io/twin/gatus
tag: v5.15.0@sha256:45686324db605e57dfa8b0931d8d57fe06298f52685f06aa9654a1f710d461bb
env:
CUSTOM_SECRET_EXTERNAL_DOMAIN: ${SECRET_EXTERNAL_DOMAIN}
GATUS_CONFIG_PATH: /config
GATUS_DELAY_START_SECONDS: 5
WEB_PORT: &port 80
TZ: ${TIMEZONE}
WEB_PORT: &port 8080
envFrom:
- secretRef:
name: gatus-secret
@@ -83,9 +85,6 @@ spec:
limits:
memory: 256Mi
defaultPodOptions:
dnsConfig:
options:
- { name: ndots, value: "1" }
securityContext:
runAsNonRoot: true
runAsUser: 1000
@@ -99,18 +98,8 @@ spec:
ports:
http:
port: *port
serviceMonitor:
app:
serviceName: gatus
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
ingress:
app:
enabled: true
className: external
annotations:
hajimari.io/icon: mdi:list-status