Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from shileifu/main
Browse files Browse the repository at this point in the history
[fix] storageClassName
  • Loading branch information
shileifu authored Mar 2, 2023
2 parents 41a52ac + 8a0cabb commit fd4161d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kube-starrocks/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes

# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.2
version: 1.3.3

# This is the version number of tlhe application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
{{- if .Values.starrocksFESpec.storageSpec.name }}
storageVolumes:
- name: {{ .Values.starrocksFESpec.storageSpec.name }}
storageClassName: {{ .Values.starrocksFESpec.storageSpec.storageClassName }}}
storageSize: {{ .Values.starrocksFESpec.storageSpec.storageSize }}
mountPath: {{template "starrockscluster.fe.meta.path" . }}
{{- end }}
Expand Down Expand Up @@ -80,6 +81,7 @@ spec:
{{- if .Values.starrocksBeSpec.storageSpec.name }}
storageVolumes:
- name: {{ .Values.starrocksBeSpec.storageSpec.name }}
storageClassName: {{ .Values.starrocksBeSpec.storageSpec.storageClassName }}
storageSize: {{ .Values.starrocksBeSpec.storageSpec.storageSize }}
mountPath: {{template "starrockscluster.be.data.path" . }}
{{- end }}
Expand Down
9 changes: 6 additions & 3 deletions charts/kube-starrocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ starrocksFESpec:

# fe storageSpec for persistent meta data.
storageSpec:
# the storageClass name for fe meta persistent volume. if name is empty used emptyDir.
# the name of volume for mount. if not will use emptyDir.
name: ""
# the storageClassName represent the used storageclss name. if not set will use k8s cluster default storageclass.
storageClassName: ""
#the persistent volume size default 1 Gi.
storageSize: 1Gi

Expand Down Expand Up @@ -292,9 +294,10 @@ starrocksBeSpec:
memory: 8Gi
## specify storageclass name and request size.
storageSpec:
# the storageClass name for be data persistent volume. if name is empty used emptyDir.
# the name of volume for mount. if not will use emptyDir.
name: ""
storageSize: 10Gi
# the storageClassName represent the used storageclss name. if not set will use k8s cluster default storageclass.
storageClassName: ""

# the config for start be. the base information as follows.
config: |
Expand Down

0 comments on commit fd4161d

Please sign in to comment.