From 6da1b3e88e4407c0607cd8f32b343f5415a5f565 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 22 Oct 2026 12:56:21 +0200 Subject: [PATCH] longhorn: upgrade volume engines automatically, one at a time concurrentAutomaticEngineUpgradePerNodeLimit was 0, so volumes stayed on the engine image of whatever Longhorn version created them: three on 1.7.1, nine on 1.7.2, seven on 1.7.3. Every hop of the upgrade to 1.11.2 needs all volumes on the current engine first. --- apps/templates/longhorn-helm.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/templates/longhorn-helm.yaml b/apps/templates/longhorn-helm.yaml index 29f2027..11f6f4d 100644 --- a/apps/templates/longhorn-helm.yaml +++ b/apps/templates/longhorn-helm.yaml @@ -23,6 +23,10 @@ spec: defaultClassReplicaCount: 1 preUpgradeChecker: jobEnabled: false + defaultSettings: + # Move volumes to the new engine image after each Longhorn + # upgrade, one at a time. At 0 they stayed behind on 1.7.1/1.7.2. + concurrentAutomaticEngineUpgradePerNodeLimit: 1 parameters: - name: csi.kubeletRootDir value: "/var/snap/microk8s/common/var/lib/kubelet"