mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
feat(helm): split storageSize into data and log storage parameters (#1018)
This commit is contained in:
@@ -21,6 +21,8 @@ RustFS helm chart supports **standalone and distributed mode**. For standalone m
|
||||
| secret.rustfs.access_key | RustFS Access Key ID | `rustfsadmin` |
|
||||
| secret.rustfs.secret_key | RustFS Secret Key ID | `rustfsadmin` |
|
||||
| storageclass.name | The name for StorageClass. | `local-path` |
|
||||
| storageclass.dataStorageSize | The storage size for data PVC. | `256Mi` |
|
||||
| storageclass.logStorageSize | The storage size for log PVC. | `256Mi` |
|
||||
| ingress.className | Specify the ingress class, traefik or nginx. | `nginx` |
|
||||
|
||||
|
||||
|
||||
@@ -21,4 +21,4 @@ version: 1.0.3
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "1.0.0-alpha.72"
|
||||
appVersion: "1.0.0-alpha.73"
|
||||
|
||||
@@ -8,7 +8,7 @@ spec:
|
||||
storageClassName: {{ .Values.storageclass.name }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.storageclass.size }}
|
||||
storage: {{ .Values.storageclass.dataStorageSize }}
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -20,5 +20,5 @@ spec:
|
||||
storageClassName: {{ .Values.storageclass.name }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.storageclass.size }}
|
||||
storage: {{ .Values.storageclass.logStorageSize }}
|
||||
{{- end }}
|
||||
@@ -122,7 +122,7 @@ spec:
|
||||
storageClassName: {{ $.Values.storageclass.name }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ $.Values.storageclass.size}}
|
||||
storage: {{ $.Values.storageclass.logStorageSize}}
|
||||
{{- if eq (int .Values.replicaCount) 4 }}
|
||||
{{- range $i := until (int .Values.replicaCount) }}
|
||||
- metadata:
|
||||
@@ -132,7 +132,7 @@ spec:
|
||||
storageClassName: {{ $.Values.storageclass.name }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ $.Values.storageclass.size}}
|
||||
storage: {{ $.Values.storageclass.dataStorageSize}}
|
||||
{{- end }}
|
||||
{{- else if eq (int .Values.replicaCount) 16 }}
|
||||
- metadata:
|
||||
@@ -142,6 +142,6 @@ spec:
|
||||
storageClassName: {{ $.Values.storageclass.name }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ $.Values.storageclass.size}}
|
||||
storage: {{ $.Values.storageclass.dataStorageSize}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -147,6 +147,7 @@ affinity: {}
|
||||
|
||||
storageclass:
|
||||
name: local-path
|
||||
size: 256Mi
|
||||
dataStorageSize: 256Mi
|
||||
logStorageSize: 256Mi
|
||||
|
||||
extraManifests: []
|
||||
|
||||
Reference in New Issue
Block a user