fix(infra): switch MongoDB to 7 LTS (jemalloc, ARM64 stable)

MongoDB 8.x (both 8.0 and 8.2) uses tcmalloc-google which segfaults
(exit 139) on Hetzner ARM64 kernels with transparent hugepages disabled.
MongoDB 7 LTS uses jemalloc and runs cleanly on the same hardware.
PVC was already wiped so there is no FCV incompatibility.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gonçalo Rodrigues 2026-06-26 22:28:33 +01:00
parent 8d824b3e19
commit ba3fa6e46d

View File

@ -76,7 +76,7 @@ resource "kubernetes_stateful_set" "mongodb" {
spec { spec {
container { container {
name = "mongodb" name = "mongodb"
image = "mongo:8.0" image = "mongo:7"
env { env {
name = "MONGO_INITDB_ROOT_USERNAME" name = "MONGO_INITDB_ROOT_USERNAME"