Commit c8f87223 by Shuo Wu Committed by Sheng Yang

Longhorn v0.5.0 release

Synchronized from github.com/rancher/longhorn/
parent 09f939ed
apiVersion: v1
name: longhorn
version: 0.4.1
appVersion: v0.4.1
version: 0.5.0
appVersion: v0.5.0
kubeVersion: ">=v1.8.0-r0"
description: Longhorn is a distributed block storage system for Kubernetes powered by Rancher Labs.
keywords:
......
# Rancher Longhorn Chart
Please install Longhorn chart in `longhorn-system` namespace only.
The following document pertains to running Longhorn from the Rancher 2.0 chart.
## Source Code
......
......@@ -37,6 +37,25 @@ questions:
description: "Specify CSI Driver Registrar image. Leave blank to autodetect."
type: string
label: Longhorn CSI Driver Registrar Image
- variable: csi.kubeletRootDir
default:
description: "Specify kubelet root-dir. Leave blank to autodetect."
type: string
label: Kubelet Root Directory
- variable: csi.attacherReplicaCount
type: int
default:
min: 1
max: 10
description: "Specify number of CSI Attacher replica. By default 3."
label: Longhorn CSI Attacher replica count
- variable: csi.provisionerReplicaCount
type: int
default:
min: 1
max: 10
description: "Specify number of CSI Provisioner replica. By default 3."
label: Longhorn CSI Provisioner replica count
- variable: persistence.defaultClass
default: "true"
description: "Set as default StorageClass"
......@@ -44,6 +63,14 @@ questions:
type: boolean
required: true
label: Default Storage Class
- variable: persistence.defaultClassReplicaCount
description: "Set replica count for default StorageClass"
group: "Longhorn Settings"
type: int
default: 3
min: 1
max: 10
label: Default Storage Class Replica Count
- variable: ingress.enabled
default: "false"
description: "Expose app using Layer 7 Load Balancer - ingress"
......
......@@ -46,6 +46,10 @@ spec:
fieldPath: spec.serviceAccountName
- name: FLEXVOLUME_DIR
value: {{ .Values.persistence.flexvolumePath }}
{{- if .Values.csi.kubeletRootDir }}
- name: KUBELET_ROOT_DIR
value: {{ .Values.csi.kubeletRootDir }}
{{- end }}
{{- if .Values.csi.attacherImage }}
- name: CSI_ATTACHER_IMAGE
value: {{ .Values.csi.attacherImage }}
......@@ -58,4 +62,12 @@ spec:
- name: CSI_DRIVER_REGISTRAR_IMAGE
value: {{ .Values.csi.driverRegistrarImage }}
{{- end }}
{{- if .Values.csi.attacherReplicaCount }}
- name: CSI_ATTACHER_REPLICA_COUNT
value: "{{ .Values.csi.attacherReplicaCount }}"
{{- end }}
{{- if .Values.csi.provisionerReplicaCount }}
- name: CSI_PROVISIONER_REPLICA_COUNT
value: "{{ .Values.csi.provisionerReplicaCount }}"
{{- end }}
serviceAccountName: longhorn-service-account
......@@ -11,7 +11,7 @@ metadata:
{{- end }}
provisioner: rancher.io/longhorn
parameters:
numberOfReplicas: "3"
numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}"
staleReplicaTimeout: "30"
fromBackup: ""
baseImage: ""
......@@ -22,7 +22,7 @@ spec:
- uninstall
- --force
env:
- name: POD_NAMESPACE
- name: LONGHORN_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
......
......@@ -4,11 +4,11 @@
image:
longhorn:
engine: rancher/longhorn-engine
engineTag: v0.4.1
engineTag: v0.5.0
manager: rancher/longhorn-manager
managerTag: v0.4.1
managerTag: v0.5.0
ui: rancher/longhorn-ui
uiTag: v0.4.1
uiTag: v0.5.0
pullPolicy: IfNotPresent
service:
......@@ -27,11 +27,15 @@ persistence:
# If there is none, the default /usr/libexec/kubernetes/kubelet-plugins/volume/exec/ will be used.
flexvolumePath:
defaultClass: true
defaultClassReplicaCount: 3
csi:
attacherImage:
provisionerImage:
driverRegistrarImage:
kubeletRootDir:
attacherReplicaCount:
provisionerReplicaCount:
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment