update some scraping config

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

View File

@ -21,14 +21,5 @@ spec:
size: 1Gi size: 1Gi
storageClass: nfs-client storageClass: nfs-client
--- monitoring:
apiVersion: monitoring.coreos.com/v1 enablePodMonitor: true
kind: PodMonitor
metadata:
name: postgres-exporter
spec:
selector:
matchLabels:
"cnpg.io/cluster": immich-postgres
podMetricsEndpoints:
- port: metrics

View File

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

View File

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

View File

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