paperless-ngx: keep mem limit at 8Gi (tier LimitRange caps containers)
All checks were successful
ci/woodpecker/push/default Pipeline was successful
All checks were successful
ci/woodpecker/push/default Pipeline was successful
The prior commit set the limit to 10Gi, but the shared tier-defaults LimitRange caps per-container memory at 8Gi, so the rollout's new pod was forbidden (FailedCreate) and paperless was briefly down. 8Gi is ample for 6 workers anyway (4 workers measured ~1.3Gi under full OCR load). Restored service live via kubectl patch; this commit matches TF to the live 8Gi so drift detection won't re-revert it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
21d20dccf8
commit
3cc8f9f661
1 changed files with 4 additions and 1 deletions
|
|
@ -275,7 +275,10 @@ resource "kubernetes_deployment" "paperless-ngx" {
|
||||||
memory = "2Gi"
|
memory = "2Gi"
|
||||||
}
|
}
|
||||||
limits = {
|
limits = {
|
||||||
memory = "10Gi"
|
# 8Gi is the per-container ceiling of the tier-defaults LimitRange
|
||||||
|
# (shared across the edge tier — don't raise just for this). Ample
|
||||||
|
# for 6 workers: 4 workers measured ~1.3Gi under full OCR load.
|
||||||
|
memory = "8Gi"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue