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:
@@ -7,7 +7,7 @@ resources:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: longhorn
|
- name: longhorn
|
||||||
repo: https://charts.longhorn.io
|
repo: https://charts.longhorn.io
|
||||||
version: "1.11.0"
|
version: "1.11.1"
|
||||||
releaseName: longhorn
|
releaseName: longhorn
|
||||||
namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
|||||||
@@ -22,3 +22,21 @@ defaultSettings:
|
|||||||
persistence:
|
persistence:
|
||||||
defaultClass: true
|
defaultClass: true
|
||||||
defaultClassReplicaCount: 1
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user