fix(qbittorrent): add liveness probe to gluetun sidecar instead of qbit
This commit is contained in:
parent
068abcb8de
commit
17d3d5a348
|
@ -31,7 +31,7 @@ spec:
|
|||
tag: 4.5.2
|
||||
|
||||
env:
|
||||
QBITTORRENT__PORT: &qbitPort 8080
|
||||
QBITTORRENT__PORT: 8080
|
||||
|
||||
securityContext:
|
||||
runAsGroup: 10000
|
||||
|
@ -39,21 +39,6 @@ spec:
|
|||
fsGroup: 10000
|
||||
fsGroupChangePolicy: "OnRootMismatch"
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
custom: true
|
||||
type: TCP
|
||||
|
||||
spec:
|
||||
httpGet:
|
||||
path: /
|
||||
port: *qbitPort
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 60
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 10
|
||||
|
||||
gluetun:
|
||||
image:
|
||||
repository: qmcgaw/gluetun
|
||||
|
@ -74,6 +59,23 @@ spec:
|
|||
add:
|
||||
- NET_ADMIN
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
custom: true
|
||||
|
||||
spec:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
# if the vpn is connected, it should have internet
|
||||
- ping -c 1 google.com
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 60
|
||||
failureThreshold: 3
|
||||
timeoutSeconds: 10
|
||||
|
||||
port-manager:
|
||||
image:
|
||||
repository: git.seanomik.net/seanomik/gluetun-qbit-port-updater
|
||||
|
|
Loading…
Reference in New Issue