cluster-autoscaler: update deploy YAML

Longhorn-2203

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
Chin-Ya Huang 2022-04-21 12:31:27 +08:00 committed by David Ko
parent 9cb380eef5
commit 107029b180
2 changed files with 5 additions and 4 deletions

View File

@ -499,10 +499,10 @@ WARNING:
default: 12 default: 12
- variable: defaultSettings.kubernetesClusterAutoscalerEnabled - variable: defaultSettings.kubernetesClusterAutoscalerEnabled
label: Kubernetes Cluster Autoscaler Enabled (Experimental) label: Kubernetes Cluster Autoscaler Enabled (Experimental)
description: "Enable this setting will notify Longhorn that the cluster is using Kubernetes cluster-autoscaler. description: "Enabling 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: Longhorn prevents data loss by only allowing the Cluster Autoscaler to scale down a node that met all conditions:
- No volume attached - No volume attached to the node.
- Is not the last node containing the replica of a detached volume. - Is not the last node containing the replica of any volume.
- Is not running backing image components pod. - Is not running backing image components pod.
- Is not running share manager components pod." - Is not running share manager components pod."
group: "Longhorn Default Settings" group: "Longhorn Default Settings"

View File

@ -99,6 +99,7 @@ data:
backing-image-recovery-wait-interval: backing-image-recovery-wait-interval:
guaranteed-engine-manager-cpu: guaranteed-engine-manager-cpu:
guaranteed-replica-manager-cpu: guaranteed-replica-manager-cpu:
kubernetes-cluster-autoscaler-enabled:
--- ---
# Source: longhorn/templates/storageclass.yaml # Source: longhorn/templates/storageclass.yaml
apiVersion: v1 apiVersion: v1