fix(longhorn): upgrade to v1.11.1, fix 38GB instance-manager memory leak

v1.11.0 had a critical proxy connection leak in the instance-manager
(longhorn/longhorn#12575) that consumed 38.8GB on apollo, pushing the
server to 92% memory with swap exhausted.

v1.11.1 fixes the leak. Also adds a 2Gi per-container LimitRange in
longhorn-system as a safety net against future regressions.
This commit is contained in:
2026-04-06 13:33:10 +01:00
parent efe574f48e
commit f07b3353aa
2 changed files with 19 additions and 1 deletions

View File

@@ -22,3 +22,21 @@ defaultSettings:
persistence:
defaultClass: true
defaultClassReplicaCount: 1
# Cap instance-manager memory as a safety net against future leaks.
# v1.11.0 had a proxy connection leak (longhorn/longhorn#12575) that let
# instance-manager grow to 38 GB+. Fixed in v1.11.1, but the LimitRange
# ensures any regression is OOM-killed at 2 Gi instead of eating all RAM.
extraObjects:
- apiVersion: v1
kind: LimitRange
metadata:
name: instance-manager-limits
namespace: longhorn-system
spec:
limits:
- type: Container
default:
memory: 2Gi
defaultRequest:
memory: 128Mi