Skip to content

Commit

Permalink
Plex, Qbit: Add longer grace period
Browse files Browse the repository at this point in the history
  • Loading branch information
Heavybullets8 committed Nov 24, 2024
1 parent e239990 commit 576d26c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions kubernetes/apps/media/plex/plex/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ spec:
nvidia.com/gpu: 1

defaultPodOptions:
terminationGracePeriodSeconds: 300
securityContext:
runAsNonRoot: true
runAsUser: 568
Expand Down
13 changes: 8 additions & 5 deletions kubernetes/apps/media/qbittorrent/qbittorrent/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ spec:
qbittorrent:
annotations:
reloader.stakater.com/auto: "true"
pod:
securityContext:
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"

containers:
app:
nameOverride: *app
Expand Down Expand Up @@ -89,7 +86,7 @@ spec:
DOT: "off"
FIREWALL_VPN_INPUT_PORTS: 52885
FIREWALL_OUTBOUND_SUBNETS: 10.69.0.0/16,10.96.0.0/16
FIREWALL_INPUT_PORTS: 80,8888,9999
FIREWALL_INPUT_PORTS: 80,8888,9999 # 80: WebUI, 8888: Proxy Connections, 9999 Kube Probes
HTTPPROXY: "on"
HTTPPROXY_LISTENING_ADDRESS: :8888
HEALTH_SERVER_ADDRESS: :9999
Expand Down Expand Up @@ -135,6 +132,12 @@ spec:
tag: 1.9.7
restartPolicy: Always

defaultPodOptions:
terminationGracePeriodSeconds: 300
securityContext:
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"

service:
app:
controller: *app
Expand Down

0 comments on commit 576d26c

Please sign in to comment.