From fae03f3b8b4f00cc54fa69d171be01c1db54a30e Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 22 Oct 2026 13:52:13 +0200 Subject: [PATCH] longhorn: upgrade to 1.8.2 First hop from 1.7.3 to 1.11.2 (docs/upgrade-k8s-1.33.md). 1.8 drops the backup-target settings in favour of a "default" BackupTarget resource, so the NFS target and poll interval move into defaultBackupStore. Until now they only lived in the cluster. Checked beforehand: no Faulted volumes, no backing images, all volumes on engine v1.7.3, system backup pre-upgrade-v1-7-3-20261022 and Velero backup pre-longhorn-1-8-202610221326 both complete. --- apps/templates/longhorn-helm.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/templates/longhorn-helm.yaml b/apps/templates/longhorn-helm.yaml index 11f6f4d..bc31cfe 100644 --- a/apps/templates/longhorn-helm.yaml +++ b/apps/templates/longhorn-helm.yaml @@ -16,13 +16,19 @@ spec: sources: - chart: longhorn repoURL: https://charts.longhorn.io/ - targetRevision: 1.7.3 # Replace with the Longhorn version you'd like to install or upgrade to + # One minor at a time up to 1.11.2, see docs/upgrade-k8s-1.33.md + targetRevision: 1.8.2 helm: values: | persistence: defaultClassReplicaCount: 1 preUpgradeChecker: jobEnabled: false + # Since 1.8 the backup target is a BackupTarget resource instead of + # the backup-target setting. + defaultBackupStore: + backupTarget: nfs://192.168.1.99:/volume1/microk8s-nfs + pollInterval: 300 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.