update some scraping config

This commit is contained in:
2023-12-31 18:26:45 +01:00
parent d5aab95186
commit a437c4228e
4 changed files with 7 additions and 13 deletions

View File

@@ -7,10 +7,10 @@ metadata:
spec:
selector:
matchLabels:
app: jellyfin-server
app: jellyfin-server-service
endpoints:
- path: /metrics
targetPort: "8096"
targetPort: jellyfin
# this exposes metrics on port 8096 as enabled in the jellyfin config
# https://jellyfin.org/docs/general/networking/monitoring/

View File

@@ -20,6 +20,7 @@ spec:
cpu: "2"
ports:
- containerPort: 8096
name: jellyfin
env:
- name: TZ
value: Europe/Berlin

View File

@@ -3,6 +3,8 @@ apiVersion: v1
kind: Service
metadata:
name: jellyfin-server
labels:
app: jellyfin-server-service
spec:
selector:
app: jellyfin-server