From bbf7c8fd85ecbdd1db8ad53065d4ab53975fe49f Mon Sep 17 00:00:00 2001 From: Jian Wang Date: Tue, 6 Aug 2024 07:46:00 +0200 Subject: [PATCH] Change LH default settings to fix maintenance mode issues Signed-off-by: Jian Wang (cherry picked from commit 54caa4717a4e7b66f071bbd1689dd5dd9460652a) --- pkg/config/templates/rancherd-10-harvester.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/config/templates/rancherd-10-harvester.yaml b/pkg/config/templates/rancherd-10-harvester.yaml index 7ae63f7d6..d450aa432 100644 --- a/pkg/config/templates/rancherd-10-harvester.yaml +++ b/pkg/config/templates/rancherd-10-harvester.yaml @@ -174,6 +174,8 @@ resources: {{- if .Harvester.Longhorn.DefaultSettings.GuaranteedInstanceManagerCPU }} guaranteedInstanceManagerCPU: {{ .Harvester.Longhorn.DefaultSettings.GuaranteedInstanceManagerCPU }} {{- end }} + detachManuallyAttachedVolumesWhenCordoned: true + nodeDrainPolicy: "allow-if-replica-is-stopped" harvester-network-controller: enabled: true vipEnabled: true