chart: Update chart for customized taint toleration setting

Signed-off-by: Shuo Wu <shuo@rancher.com>
This commit is contained in:
Shuo Wu 2019-09-17 16:08:46 -07:00 committed by Sheng Yang
parent c37fd9222e
commit 3785777b3e
3 changed files with 8 additions and 0 deletions

View File

@ -149,6 +149,12 @@ questions:
type: int type: int
min: 0 min: 0
default: 300 default: 300
- variable: defaultSettings.taintToleration
label: Kubernetes Taint Toleration
description: "By setting tolerations for Longhorn then adding taints for the nodes, the nodes with large storage can be dedicated to Longhorn only (to store replica data) and reject other general workloads. Multiple tolerations can be set here, and these tolerations are separated by comma. For example, \"key1=value1:NoSchedule, key2:NoExecute\". Notice that \"kubernetes.io\" is used as the key of all Kubernetes default tolerations, please do not contain this substring in your toleration setting."
group: "Longhorn Default Settings"
type: string
default: ""
- variable: ingress.enabled - variable: ingress.enabled
default: "false" default: "false"
description: "Expose app using Layer 7 Load Balancer - ingress" description: "Expose app using Layer 7 Load Balancer - ingress"

View File

@ -17,3 +17,4 @@ data:
guaranteed-engine-cpu: {{ .Values.defaultSettings.guaranteedEngineCPU }} guaranteed-engine-cpu: {{ .Values.defaultSettings.guaranteedEngineCPU }}
default-longhorn-static-storage-class: {{ .Values.defaultSettings.defaultLonghornStaticStorageClass }} default-longhorn-static-storage-class: {{ .Values.defaultSettings.defaultLonghornStaticStorageClass }}
backupstore-poll-interval: {{ .Values.defaultSettings.backupstorePollInterval }} backupstore-poll-interval: {{ .Values.defaultSettings.backupstorePollInterval }}
taint-toleration: {{ .Values.defaultSettings.taintToleration }}

View File

@ -50,6 +50,7 @@ defaultSettings:
guaranteedEngineCPU: guaranteedEngineCPU:
defaultLonghornStaticStorageClass: defaultLonghornStaticStorageClass:
backupstorePollInterval: backupstorePollInterval:
taintToleration:
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious