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.
This commit is contained in:
Ruben Hensen committed 2026-10-22 13:52:13 +02:00
1 parent f2c1b9ac06
commit fae03f3b8b
1 file changed
+7 -1
+7 -1
View File
@@ -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.