feat: add health checks for Gluetun proxy, JDownloader, and qBittorrent deployments
This commit is contained in:
parent
3e0ed35e24
commit
21f3c545b9
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user