fix(infra): pin MongoDB to 8.0 LTS to avoid ARM64 segfault
mongo:8 resolves to 8.2 which uses tcmalloc-google. That allocator segfaults (exit 139) when transparent hugepages are disabled, which is the default on Hetzner kernels. MongoDB 8.0 LTS uses jemalloc and does not have this issue. PVC must be deleted before applying since FCV 8.2 data files can't be opened by 8.0. Finance API seeds admin on startup so no data is lost. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
81e804206d
commit
8d824b3e19
@ -76,7 +76,7 @@ resource "kubernetes_stateful_set" "mongodb" {
|
|||||||
spec {
|
spec {
|
||||||
container {
|
container {
|
||||||
name = "mongodb"
|
name = "mongodb"
|
||||||
image = "mongo:8"
|
image = "mongo:8.0"
|
||||||
|
|
||||||
env {
|
env {
|
||||||
name = "MONGO_INITDB_ROOT_USERNAME"
|
name = "MONGO_INITDB_ROOT_USERNAME"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user