feat: add health checks for Gluetun proxy, JDownloader, and qBittorrent deployments

This commit is contained in:
Nik Afiq 2026-05-16 17:25:16 +09:00
parent 3e0ed35e24
commit 21f3c545b9
3 changed files with 64 additions and 1 deletions

View File

@ -43,7 +43,7 @@ spec:
key: OPENVPN_PASSWORD key: OPENVPN_PASSWORD
- name: HTTPPROXY - name: HTTPPROXY
value: "on" value: "on"
- name: HTTPPROXY_PORT - name: HTTPPROXY_LISTENING_ADDRESS
value: "8888" value: "8888"
- name: HTTPPROXY_LOG - name: HTTPPROXY_LOG
value: "off" value: "off"
@ -53,6 +53,27 @@ spec:
value: "on" value: "on"
ports: ports:
- containerPort: 8888 - containerPort: 8888
startupProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 10
failureThreshold: 18
livenessProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 30
failureThreshold: 3
readinessProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 10
failureThreshold: 3
volumeMounts: volumeMounts:
- name: tun - name: tun
mountPath: /dev/net/tun mountPath: /dev/net/tun

View File

@ -46,6 +46,27 @@ spec:
value: "10.42.0.0/16,10.43.0.0/16,192.168.7.0/24" value: "10.42.0.0/16,10.43.0.0/16,192.168.7.0/24"
- name: BLOCK_IPV6 - name: BLOCK_IPV6
value: "on" value: "on"
startupProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 10
failureThreshold: 18
livenessProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 30
failureThreshold: 3
readinessProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 10
failureThreshold: 3
volumeMounts: volumeMounts:
- name: tun - name: tun
mountPath: /dev/net/tun mountPath: /dev/net/tun

View File

@ -66,6 +66,27 @@ spec:
value: "10.42.0.0/16,10.43.0.0/16,192.168.7.0/24" value: "10.42.0.0/16,10.43.0.0/16,192.168.7.0/24"
- name: BLOCK_IPV6 - name: BLOCK_IPV6
value: "on" value: "on"
startupProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 10
failureThreshold: 18
livenessProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 30
failureThreshold: 3
readinessProbe:
exec:
command:
- /gluetun-entrypoint
- healthcheck
periodSeconds: 10
failureThreshold: 3
volumeMounts: volumeMounts:
- name: tun - name: tun
mountPath: /dev/net/tun mountPath: /dev/net/tun