[ci skip] add liveness probe to Send deployment

Prevents stale Redis connections from silently breaking file uploads.
The old Node.js Redis client doesn't auto-reconnect after Redis restarts,
causing all files to appear expired.
This commit is contained in:
Viktor Barzin 2026-03-07 20:39:44 +00:00
parent 144fd151cb
commit 650c2a6ed4

View file

@ -87,6 +87,15 @@ resource "kubernetes_deployment" "send" {
name = "REDIS_HOST"
value = var.redis_host
}
liveness_probe {
http_get {
path = "/__version__"
port = 1443
}
initial_delay_seconds = 10
period_seconds = 30
failure_threshold = 3
}
volume_mount {
name = "data"
mount_path = "/uploads"