fix(jellyfin): missing bloody comma

This commit is contained in:
JJGadgets
2024-05-16 05:05:56 +08:00
parent 30752f473d
commit 8ae0713e4d
3 changed files with 21 additions and 10 deletions

View File

@@ -113,7 +113,7 @@ spec:
fsGroup: *uid
fsGroupChangePolicy: "Always"
supplementalGroups: [
44, 104, 109, 128, 226 # GPU
44, 104, 109, 128, 226, # GPU
6969 # NAS
]
seccompProfile: { type: "RuntimeDefault" }

View File

@@ -7,11 +7,15 @@ metadata:
namespace: monitoring
spec:
# TODO: set default intervals to debug memory spikes
scrapeInterval: "30s"
scrapeTimeout: "15s"
staticConfigs:
- targets: ["${IP_NIGHTHAWK}:9182"]
- targets:
- &ip "${IP_NIGHTHAWK}:9182"
metricsPath: "/metrics"
relabelings:
- sourceLabels: ["__address__"]
targetLabel: "instance"
regex: *ip
replacement: "nighthawk:9182"
---
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
@@ -21,8 +25,12 @@ metadata:
spec:
# scrapeInterval: "2s"
# scrapeTimeout: "1s"
scrapeInterval: "30s"
scrapeTimeout: "15s"
staticConfigs:
- targets: ["${IP_NIGHTHAWK}:9835"]
- targets:
- &ip "${IP_NIGHTHAWK}:9835"
metricsPath: "/metrics"
relabelings:
- sourceLabels: ["__address__"]
targetLabel: "instance"
regex: *ip
replacement: "nighthawk:9835"

View File

@@ -5,10 +5,13 @@ metadata:
name: smartctl-exporter
namespace: monitoring
spec:
scrapeInterval: "1m"
scrapeTimeout: "10s"
staticConfigs:
- targets:
- "${IP_BLACKHAWK}:9633" # My laptop
- &blackhawk "${IP_BLACKHAWK}:9633" # My laptop
metricsPath: "/metrics"
relabelings:
- sourceLabels: ["__address__"]
targetLabel: "instance"
regex: *blackhawk
replacement: "blackhawk:9633"