Merge feature/vpn-liveness-exec into main

This commit is contained in:
jakman85 committed 2026-08-23 23:57:32 -05:00
commit db39879e1c
1 file changed
+7 -2
+7 -2
View File
@@ -72,9 +72,14 @@ spec:
- name: control
containerPort: 8000 # Gluetun control API (health + tunnel-state lookup)
livenessProbe:
httpGet: { path: /v1/openvpn/status, port: 8000 } # Gluetun control API health
initialDelaySeconds: 20
# EXEC (localhost) not httpGet: once the tunnel redirects the default route via tun0, the pod's
# response to a kubelet HTTP probe would egress the tunnel and never return → probe times out →
# needless restarts. A local wget stays on lo, unaffected by the VPN routing.
exec:
command: ["/bin/sh", "-c", "wget -qO- http://127.0.0.1:8000/v1/vpn/status | grep -q running"]
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
resources:
requests:
cpu: 50m