Add gatus monitoring and database caching
This commit is contained in:
parent
b1642382fa
commit
5b96ea03a3
45 changed files with 646 additions and 1 deletions
27
namespaces/ai/ollama/extra/gatus-endpoints.yaml
Normal file
27
namespaces/ai/ollama/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
ollama-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Ollama
|
||||||
|
url: http://ollama-svc.ai.svc.cluster.local:11434/
|
||||||
|
group: Internal/AI
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# ollama-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Ollama
|
||||||
|
# url: https://ollama.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: ollama-
|
namePrefix: ollama-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/deployment/
|
- ../../../kustomize/bases/deployment/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/ai/openwebui/extra/gatus-endpoints.yaml
Normal file
27
namespaces/ai/openwebui/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
owui-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Open WebUI
|
||||||
|
url: http://open-webui.ai.svc.cluster.local:9998/
|
||||||
|
group: Internal/AI
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
owui-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Open WebUI
|
||||||
|
url: https://owui.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: open-webui-
|
namePrefix: open-webui-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/helmchart/
|
- ../../../kustomize/bases/helmchart/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: patches/chart.yaml
|
- path: patches/chart.yaml
|
||||||
|
|
27
namespaces/ai/tabby/extra/gatus-endpoints.yaml
Normal file
27
namespaces/ai/tabby/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
tabby-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Tabby
|
||||||
|
url: http://tabby-svc.ai.svc.cluster.local/
|
||||||
|
group: Internal/AI
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# tabby-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Tabby
|
||||||
|
# url: https://tabby.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: tabby-
|
namePrefix: tabby-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/deployment/
|
- ../../../kustomize/bases/deployment/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/atuin/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/atuin/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
atuin-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Atuin
|
||||||
|
url: http://atuin-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
atuin-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Atuin
|
||||||
|
url: https://atuin.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: atuin-
|
namePrefix: atuin-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/deployment/
|
- ../../../kustomize/bases/deployment/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/dolibarr/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/dolibarr/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
dolibarr-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Dolibarr
|
||||||
|
url: http://dolibarr-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# dolibarr-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Dolibarr
|
||||||
|
# url: https://dolibarr.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: dolibarr-
|
namePrefix: dolibarr-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/public-oidc/
|
- ../../../kustomize/bases/public-oidc/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/forgejo/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/forgejo/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
forgejo-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Forgejo
|
||||||
|
url: http://forgejo-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
forgejo-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Forgejo
|
||||||
|
url: https://forgejo.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -15,6 +15,7 @@ resources:
|
||||||
- ../../../kustomize/bases/deployment/
|
- ../../../kustomize/bases/deployment/
|
||||||
- extra/ssh-service.yaml
|
- extra/ssh-service.yaml
|
||||||
- extra/ssh-tcproute.yaml
|
- extra/ssh-tcproute.yaml
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/linkwarden/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/linkwarden/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
linkwarden-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Linkwarden
|
||||||
|
url: http://linkwarden-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
linkwarden-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Linkwarden
|
||||||
|
url: https://linkwarden.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: linkwarden-
|
namePrefix: linkwarden-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/public-oidc/
|
- ../../../kustomize/bases/public-oidc/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/mealie/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/mealie/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
mealie-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Mealie
|
||||||
|
url: http://mealie-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
mealie-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Mealie
|
||||||
|
url: https://mealie.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: mealie-
|
namePrefix: mealie-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/public-oidc/
|
- ../../../kustomize/bases/public-oidc/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/paperless/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/paperless/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
paperless-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Paperless
|
||||||
|
url: http://paperless-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
paperless-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Paperless
|
||||||
|
url: https://paperless.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -17,6 +17,7 @@ resources:
|
||||||
- extra/pvc-consume.yaml
|
- extra/pvc-consume.yaml
|
||||||
- extra/pvc-sftp.yaml
|
- extra/pvc-sftp.yaml
|
||||||
- extra/pv-sftp.yaml
|
- extra/pv-sftp.yaml
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/apps/syncthing/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/syncthing/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
syncthing-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Syncthing
|
||||||
|
url: http://syncthing-svc.apps.svc.cluster.local:8384/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# syncthing-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Syncthing
|
||||||
|
# url: https://syncthing.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: syncthing-
|
namePrefix: syncthing-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/statefulset/
|
- ../../../kustomize/bases/statefulset/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
27
namespaces/apps/vaultwarden/extra/gatus-endpoints.yaml
Normal file
27
namespaces/apps/vaultwarden/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
vaultwarden-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Vaultwarden
|
||||||
|
url: http://vaultwarden-svc.apps.svc.cluster.local/
|
||||||
|
group: Internal/Apps
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
vaultwarden-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Vaultwarden
|
||||||
|
url: https://vaultwarden.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: vaultwarden-
|
namePrefix: vaultwarden-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/deployment/
|
- ../../../kustomize/bases/deployment/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/auth/authentik/extra/gatus-endpoints.yaml
Normal file
27
namespaces/auth/authentik/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
authentik-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Authentik
|
||||||
|
url: http://authentik-chart-server.auth.svc.cluster.local/
|
||||||
|
group: Internal/Auth
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
authentik-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Authentik
|
||||||
|
url: https://auth.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: authentik-
|
namePrefix: authentik-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/helmchart
|
- ../../../kustomize/bases/helmchart
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: patches/chart.yaml
|
- path: patches/chart.yaml
|
||||||
|
|
27
namespaces/core/gotenburg/extra/gatus-endpoints.yaml
Normal file
27
namespaces/core/gotenburg/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
gotenburg-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Gotenburg
|
||||||
|
url: http://gotenburg-svc.core.svc.cluster.local:3000/health
|
||||||
|
group: Internal/Core
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# gotenburg-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Gotenburg
|
||||||
|
# url: https://gotenburg.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: gotenburg-
|
namePrefix: gotenburg-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/deployservice/
|
- ../../../kustomize/bases/deployservice/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/core/minio/extra/gatus-endpoint.yaml
Normal file
27
namespaces/core/minio/extra/gatus-endpoint.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
minio-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Minio
|
||||||
|
url: http://minio-server-svc.core.svc.cluster.local:9000/minio/health/live
|
||||||
|
group: Internal/Core
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# minio-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Minio
|
||||||
|
# url: https://minio.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -15,6 +15,7 @@ resources:
|
||||||
- ../../../kustomize/bases/deployment/
|
- ../../../kustomize/bases/deployment/
|
||||||
- extra/server-svc.yaml
|
- extra/server-svc.yaml
|
||||||
- extra/server-route.yaml
|
- extra/server-route.yaml
|
||||||
|
- extra/gatus-endpoint.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
27
namespaces/core/postgres/extra/gatus-endpoints.yaml
Normal file
27
namespaces/core/postgres/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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"
|
|
@ -14,6 +14,7 @@ namePrefix: postgres-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/statefulset/
|
- ../../../kustomize/bases/statefulset/
|
||||||
- extra/tcproute.yaml
|
- extra/tcproute.yaml
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
27
namespaces/core/redis/extra/gatus-endpoints.yaml
Normal file
27
namespaces/core/redis/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
redis-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Redis
|
||||||
|
url: tcp://redis-svc.core.svc.cluster.local:6379
|
||||||
|
group: Internal/Core
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[CONNECTED] == true"
|
||||||
|
# redis-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Redis
|
||||||
|
# url: https://redis.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: redis-
|
namePrefix: redis-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/statefulset/
|
- ../../../kustomize/bases/statefulset/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- includeSelectors: true
|
- includeSelectors: true
|
||||||
|
|
27
namespaces/core/tika/extra/gatus-endpoints.yaml
Normal file
27
namespaces/core/tika/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
tika-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Tika
|
||||||
|
url: http://tika-svc.core.svc.cluster.local:9998/
|
||||||
|
group: Internal/Core
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
# tika-external-gatus-endpoints.yaml: |
|
||||||
|
# endpoints:
|
||||||
|
# - name: Tika
|
||||||
|
# url: https://tika.leechpepin.com/
|
||||||
|
# group: External
|
||||||
|
# interval: 5m
|
||||||
|
# alerts:
|
||||||
|
# - type: ntfy
|
||||||
|
# conditions:
|
||||||
|
# - "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: tika-
|
namePrefix: tika-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/deployservice/
|
- ../../../kustomize/bases/deployservice/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/longhorn/longhorn/extra/gatus-endpoints.yaml
Normal file
27
namespaces/longhorn/longhorn/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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"
|
|
@ -17,6 +17,7 @@ resources:
|
||||||
- extra/longhorn-private-storageclass.yaml
|
- extra/longhorn-private-storageclass.yaml
|
||||||
- extra/longhorn-secret.yaml
|
- extra/longhorn-secret.yaml
|
||||||
- extra/longhorn-backupjob.yaml
|
- extra/longhorn-backupjob.yaml
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: patches/chart.yaml
|
- path: patches/chart.yaml
|
||||||
|
|
|
@ -4,6 +4,23 @@ config.yaml: |
|
||||||
title: "JLP Homelab Health | Gatus"
|
title: "JLP Homelab Health | Gatus"
|
||||||
skip-invalid-config-update: true
|
skip-invalid-config-update: true
|
||||||
|
|
||||||
|
storage:
|
||||||
|
type: postgres
|
||||||
|
caching: true
|
||||||
|
path: "postgres://gatus:${POSTGRES_PASSWORD}@postgres-svc.core.svc.cluster.local:5432/gatus?sslmode=disable"
|
||||||
|
alerting:
|
||||||
|
ntfy:
|
||||||
|
url: https://ntfy.leechpepin.com
|
||||||
|
topic: ${NTFY_TOPIC}
|
||||||
|
token: ${NTFY_TOKEN}
|
||||||
|
disable-firebase: true
|
||||||
|
defaultAlert:
|
||||||
|
description: "healthcheck failed"
|
||||||
|
enabled: true
|
||||||
|
send-on-resolved: true
|
||||||
|
success-threshold: 3
|
||||||
|
failure-threshold: 3
|
||||||
|
|
||||||
endpoints:
|
endpoints:
|
||||||
- name: Gatus
|
- name: Gatus
|
||||||
url: http://gatus-svc.monitoring.svc.cluster.local:8080/health
|
url: http://gatus-svc.monitoring.svc.cluster.local:8080/health
|
||||||
|
@ -11,3 +28,21 @@ endpoints:
|
||||||
interval: 5m
|
interval: 5m
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: Blog
|
||||||
|
url: https://blog.leechpepin.com
|
||||||
|
group: Static Pages
|
||||||
|
interval: 5m
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
- name: Techdocs
|
||||||
|
url: https://docs.leechpepin.com
|
||||||
|
group: Static Pages
|
||||||
|
interval: 5m
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
|
|
@ -46,7 +46,7 @@ configMapGenerator:
|
||||||
- FOLDER="/config"
|
- FOLDER="/config"
|
||||||
- METHOD="SLEEP"
|
- METHOD="SLEEP"
|
||||||
- SLEEP_TIME=60
|
- SLEEP_TIME=60
|
||||||
- NAMESPACE="auth,monitoring,apps,core,longhorn"
|
- NAMESPACE="auth,ai,monitoring,apps,core,longhorn"
|
||||||
- name: base-config
|
- name: base-config
|
||||||
files:
|
files:
|
||||||
- base-config.yaml
|
- base-config.yaml
|
||||||
|
@ -82,6 +82,13 @@ replacements:
|
||||||
kind: InfisicalSecret
|
kind: InfisicalSecret
|
||||||
fieldPaths:
|
fieldPaths:
|
||||||
- spec.managedSecretReference.secretNamespace
|
- spec.managedSecretReference.secretNamespace
|
||||||
|
- select:
|
||||||
|
kind: InfisicalSecret
|
||||||
|
options:
|
||||||
|
delimiter: "/"
|
||||||
|
index: 1
|
||||||
|
fieldPaths:
|
||||||
|
- spec.authentication.universalAuth.secretsScope.secretsPath
|
||||||
- source:
|
- source:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: app
|
name: app
|
||||||
|
|
|
@ -55,6 +55,19 @@ spec:
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: gatus-settings
|
name: gatus-settings
|
||||||
|
env:
|
||||||
|
- name: NTFY_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: gatus-secrets
|
||||||
|
key: NTFY_TOKEN
|
||||||
|
optional: false
|
||||||
|
- name: POSTGRES_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: gatus-secrets
|
||||||
|
key: POSTGRES_PASSWORD
|
||||||
|
optional: false
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /config/config.yaml
|
- mountPath: /config/config.yaml
|
||||||
name: gatus-config
|
name: gatus-config
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
healthchecks-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Healthchecks
|
||||||
|
url: http://healthchecks-svc.monitoring.svc.cluster.local/
|
||||||
|
headers:
|
||||||
|
Host: "healthchecks.leechpepin.com"
|
||||||
|
group: Internal/Monitoring
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
healthchecks-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Healthchecks
|
||||||
|
url: https://healthchecks.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: healthchecks-
|
namePrefix: healthchecks-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/public-oidc/
|
- ../../../kustomize/bases/public-oidc/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/monitoring/ntfy/extra/gatus-endpoints.yaml
Normal file
27
namespaces/monitoring/ntfy/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
ntfy-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Ntfy
|
||||||
|
url: http://ntfy-svc.monitoring.svc.cluster.local/
|
||||||
|
group: Internal/Monitoring
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
ntfy-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Ntfy
|
||||||
|
url: https://ntfy.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: ntfy-
|
namePrefix: ntfy-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/public-oidc/
|
- ../../../kustomize/bases/public-oidc/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
27
namespaces/monitoring/umami/extra/gatus-endpoints.yaml
Normal file
27
namespaces/monitoring/umami/extra/gatus-endpoints.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
homelab.kubernetes.io/k8s-sidecar: gatus
|
||||||
|
name: gatus-endpoints
|
||||||
|
data:
|
||||||
|
umami-internal-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Umami
|
||||||
|
url: http://umami-svc.monitoring.svc.cluster.local/
|
||||||
|
group: Internal/Monitoring
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
||||||
|
umami-external-gatus-endpoints.yaml: |
|
||||||
|
endpoints:
|
||||||
|
- name: Umami
|
||||||
|
url: https://umami.leechpepin.com/
|
||||||
|
group: External
|
||||||
|
interval: 5m
|
||||||
|
alerts:
|
||||||
|
- type: ntfy
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
|
@ -13,6 +13,7 @@ transformers:
|
||||||
namePrefix: umami-
|
namePrefix: umami-
|
||||||
resources:
|
resources:
|
||||||
- ../../../kustomize/bases/public-oidc/
|
- ../../../kustomize/bases/public-oidc/
|
||||||
|
- extra/gatus-endpoints.yaml
|
||||||
|
|
||||||
replacements:
|
replacements:
|
||||||
- source:
|
- source:
|
||||||
|
|
Loading…
Add table
Reference in a new issue