Merge pull request 'music-assistant: raise memory limit to 6Gi so Smart Fades can load' (#46) from worktree-ma-smart-fades-ram into master

This commit was merged in pull request #46.
This commit is contained in:
2026-06-26 13:36:03 +02:00
@@ -75,9 +75,15 @@ spec:
resources:
requests:
cpu: 250m
memory: 512Mi
memory: 1Gi
limits:
memory: 2Gi
# The Smart Fades audio-analysis provider (MA 2.9+) loads an ML
# model and refuses to start if it detects < 4GB via the pod's
# cgroup memory limit ("at least 4GB of RAM is required, 2.0GB
# detected"). Upstream recommends 6GB+; the 4GB minimum risks
# OOM under load. k8s-edge (12GB VM) has the headroom, so the
# limit is set to the recommended 6Gi rather than the 4GB floor.
memory: 6Gi
securityContext:
# Matches the LXC docker-compose: SYS_ADMIN + DAC_READ_SEARCH
# and AppArmor unconfined are required by the upstream image