update some scraping config
This commit is contained in:
		| @@ -21,14 +21,5 @@ spec: | ||||
|     size: 1Gi | ||||
|     storageClass: nfs-client | ||||
|  | ||||
| --- | ||||
| apiVersion: monitoring.coreos.com/v1 | ||||
| kind: PodMonitor | ||||
| metadata: | ||||
|   name: postgres-exporter | ||||
| spec: | ||||
|   selector: | ||||
|     matchLabels: | ||||
|       "cnpg.io/cluster": immich-postgres | ||||
|   podMetricsEndpoints: | ||||
|   - port: metrics | ||||
|   monitoring: | ||||
|     enablePodMonitor: true | ||||
|   | ||||
| @@ -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/ | ||||
|   | ||||
| @@ -20,6 +20,7 @@ spec: | ||||
|             cpu: "2" | ||||
|         ports: | ||||
|         - containerPort: 8096 | ||||
|           name: jellyfin | ||||
|         env: | ||||
|         - name: TZ | ||||
|           value: Europe/Berlin | ||||
|   | ||||
| @@ -3,6 +3,8 @@ apiVersion: v1 | ||||
| kind: Service | ||||
| metadata: | ||||
|   name: jellyfin-server | ||||
|   labels: | ||||
|     app: jellyfin-server-service | ||||
| spec: | ||||
|   selector: | ||||
|     app: jellyfin-server | ||||
|   | ||||
		Reference in New Issue
	
	Block a user