Skip to content

Commit

Permalink
chore(media): add back probes
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Jan 1, 2025
1 parent 1fdd2c2 commit 6709caf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
14 changes: 11 additions & 3 deletions kubernetes/apps/media/qbittorrent/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,18 @@ spec:
QBT_WEBUI_PORT: &port 8080
TZ: ${TIMEZONE}
probes:
liveness:
enabled: true
readiness:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api/v2/app/version
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: true
spec:
Expand Down
14 changes: 11 additions & 3 deletions kubernetes/apps/media/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,18 @@ spec:
- secretRef:
name: sabnzbd-secret
probes:
liveness:
enabled: true
readiness:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /api?mode=version
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: true
spec:
Expand Down

0 comments on commit 6709caf

Please sign in to comment.