Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
c8f87223
Commit
c8f87223
authored
May 14, 2019
by
Shuo Wu
Committed by
Sheng Yang
May 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Longhorn v0.5.0 release
Synchronized from github.com/rancher/longhorn/
parent
09f939ed
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
7 deletions
+52
-7
Chart.yaml
proposed/longhorn/latest/Chart.yaml
+2
-2
README.md
proposed/longhorn/latest/README.md
+2
-0
questions.yml
proposed/longhorn/latest/questions.yml
+27
-0
deployment-driver.yaml
proposed/longhorn/latest/templates/deployment-driver.yaml
+12
-0
storageclass.yaml
proposed/longhorn/latest/templates/storageclass.yaml
+1
-1
uninstall-job.yaml
proposed/longhorn/latest/templates/uninstall-job.yaml
+1
-1
values.yaml
proposed/longhorn/latest/values.yaml
+7
-3
No files found.
proposed/longhorn/latest/Chart.yaml
View file @
c8f87223
apiVersion
:
v1
apiVersion
:
v1
name
:
longhorn
name
:
longhorn
version
:
0.
4.1
version
:
0.
5.0
appVersion
:
v0.
4.1
appVersion
:
v0.
5.0
kubeVersion
:
"
>=v1.8.0-r0"
kubeVersion
:
"
>=v1.8.0-r0"
description
:
Longhorn is a distributed block storage system for Kubernetes powered by Rancher Labs.
description
:
Longhorn is a distributed block storage system for Kubernetes powered by Rancher Labs.
keywords
:
keywords
:
...
...
proposed/longhorn/latest/README.md
View file @
c8f87223
# Rancher Longhorn Chart
# 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.
The following document pertains to running Longhorn from the Rancher 2.0 chart.
## Source Code
## Source Code
...
...
proposed/longhorn/latest/questions.yml
View file @
c8f87223
...
@@ -37,6 +37,25 @@ questions:
...
@@ -37,6 +37,25 @@ questions:
description
:
"
Specify
CSI
Driver
Registrar
image.
Leave
blank
to
autodetect."
description
:
"
Specify
CSI
Driver
Registrar
image.
Leave
blank
to
autodetect."
type
:
string
type
:
string
label
:
Longhorn CSI Driver Registrar Image
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
-
variable
:
persistence.defaultClass
default
:
"
true"
default
:
"
true"
description
:
"
Set
as
default
StorageClass"
description
:
"
Set
as
default
StorageClass"
...
@@ -44,6 +63,14 @@ questions:
...
@@ -44,6 +63,14 @@ questions:
type
:
boolean
type
:
boolean
required
:
true
required
:
true
label
:
Default Storage Class
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
-
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"
...
...
proposed/longhorn/latest/templates/deployment-driver.yaml
View file @
c8f87223
...
@@ -46,6 +46,10 @@ spec:
...
@@ -46,6 +46,10 @@ spec:
fieldPath
:
spec.serviceAccountName
fieldPath
:
spec.serviceAccountName
-
name
:
FLEXVOLUME_DIR
-
name
:
FLEXVOLUME_DIR
value
:
{{
.Values.persistence.flexvolumePath
}}
value
:
{{
.Values.persistence.flexvolumePath
}}
{{
- if .Values.csi.kubeletRootDir
}}
-
name
:
KUBELET_ROOT_DIR
value
:
{{
.Values.csi.kubeletRootDir
}}
{{
- end
}}
{{
- if .Values.csi.attacherImage
}}
{{
- if .Values.csi.attacherImage
}}
-
name
:
CSI_ATTACHER_IMAGE
-
name
:
CSI_ATTACHER_IMAGE
value
:
{{
.Values.csi.attacherImage
}}
value
:
{{
.Values.csi.attacherImage
}}
...
@@ -58,4 +62,12 @@ spec:
...
@@ -58,4 +62,12 @@ spec:
-
name
:
CSI_DRIVER_REGISTRAR_IMAGE
-
name
:
CSI_DRIVER_REGISTRAR_IMAGE
value
:
{{
.Values.csi.driverRegistrarImage
}}
value
:
{{
.Values.csi.driverRegistrarImage
}}
{{
- end
}}
{{
- 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
serviceAccountName
:
longhorn-service-account
proposed/longhorn/latest/templates/storageclass.yaml
View file @
c8f87223
...
@@ -11,7 +11,7 @@ metadata:
...
@@ -11,7 +11,7 @@ metadata:
{{
- end
}}
{{
- end
}}
provisioner
:
rancher.io/longhorn
provisioner
:
rancher.io/longhorn
parameters
:
parameters
:
numberOfReplicas
:
"
3
"
numberOfReplicas
:
"
{{
.Values.persistence.defaultClassReplicaCount
}}
"
staleReplicaTimeout
:
"
30"
staleReplicaTimeout
:
"
30"
fromBackup
:
"
"
fromBackup
:
"
"
baseImage
:
"
"
baseImage
:
"
"
proposed/longhorn/latest/templates/uninstall-job.yaml
View file @
c8f87223
...
@@ -22,7 +22,7 @@ spec:
...
@@ -22,7 +22,7 @@ spec:
-
uninstall
-
uninstall
-
--force
-
--force
env
:
env
:
-
name
:
POD
_NAMESPACE
-
name
:
LONGHORN
_NAMESPACE
valueFrom
:
valueFrom
:
fieldRef
:
fieldRef
:
fieldPath
:
metadata.namespace
fieldPath
:
metadata.namespace
...
...
proposed/longhorn/latest/values.yaml
View file @
c8f87223
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
image
:
image
:
longhorn
:
longhorn
:
engine
:
rancher/longhorn-engine
engine
:
rancher/longhorn-engine
engineTag
:
v0.
4.1
engineTag
:
v0.
5.0
manager
:
rancher/longhorn-manager
manager
:
rancher/longhorn-manager
managerTag
:
v0.
4.1
managerTag
:
v0.
5.0
ui
:
rancher/longhorn-ui
ui
:
rancher/longhorn-ui
uiTag
:
v0.
4.1
uiTag
:
v0.
5.0
pullPolicy
:
IfNotPresent
pullPolicy
:
IfNotPresent
service
:
service
:
...
@@ -27,11 +27,15 @@ persistence:
...
@@ -27,11 +27,15 @@ persistence:
# If there is none, the default /usr/libexec/kubernetes/kubelet-plugins/volume/exec/ will be used.
# If there is none, the default /usr/libexec/kubernetes/kubelet-plugins/volume/exec/ will be used.
flexvolumePath
:
flexvolumePath
:
defaultClass
:
true
defaultClass
:
true
defaultClassReplicaCount
:
3
csi
:
csi
:
attacherImage
:
attacherImage
:
provisionerImage
:
provisionerImage
:
driverRegistrarImage
:
driverRegistrarImage
:
kubeletRootDir
:
attacherReplicaCount
:
provisionerReplicaCount
:
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment