From 107029b1809f327e7ebac77ccb961cf1b00c36b0 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Thu, 21 Apr 2022 12:31:27 +0800 Subject: [PATCH] cluster-autoscaler: update deploy YAML Longhorn-2203 Signed-off-by: Chin-Ya Huang --- chart/questions.yaml | 8 ++++---- deploy/longhorn.yaml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/chart/questions.yaml b/chart/questions.yaml index bf98084..2d35c7e 100644 --- a/chart/questions.yaml +++ b/chart/questions.yaml @@ -499,10 +499,10 @@ WARNING: default: 12 - variable: defaultSettings.kubernetesClusterAutoscalerEnabled label: Kubernetes Cluster Autoscaler Enabled (Experimental) - description: "Enable this setting will notify Longhorn that the cluster is using Kubernetes cluster-autoscaler. - Longhorn prevents data loss by only allowing CA to scale down a node that met all conditions: - - No volume attached - - Is not the last node containing the replica of a detached volume. + description: "Enabling this setting will notify Longhorn that the cluster is using Kubernetes Cluster Autoscaler. + Longhorn prevents data loss by only allowing the Cluster Autoscaler to scale down a node that met all conditions: + - No volume attached to the node. + - Is not the last node containing the replica of any volume. - Is not running backing image components pod. - Is not running share manager components pod." group: "Longhorn Default Settings" diff --git a/deploy/longhorn.yaml b/deploy/longhorn.yaml index 7ddec57..4515365 100644 --- a/deploy/longhorn.yaml +++ b/deploy/longhorn.yaml @@ -99,6 +99,7 @@ data: backing-image-recovery-wait-interval: guaranteed-engine-manager-cpu: guaranteed-replica-manager-cpu: + kubernetes-cluster-autoscaler-enabled: --- # Source: longhorn/templates/storageclass.yaml apiVersion: v1