update some scraping config
This commit is contained in:
parent
d5aab95186
commit
a437c4228e
@ -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
|
|
||||||
|
@ -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/
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user