[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 6dcb6cf55a
commit 90c3372643
No known key found for this signature in database
GPG key ID: 0EB088298288D958

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"