mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +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.access_key | RustFS Access Key ID | `rustfsadmin` |
|
||||||
| secret.rustfs.secret_key | RustFS Secret Key ID | `rustfsadmin` |
|
| secret.rustfs.secret_key | RustFS Secret Key ID | `rustfsadmin` |
|
||||||
| storageclass.name | The name for StorageClass. | `local-path` |
|
| 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` |
|
| 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
|
# 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.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# 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 }}
|
storageClassName: {{ .Values.storageclass.name }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.storageclass.size }}
|
storage: {{ .Values.storageclass.dataStorageSize }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -20,5 +20,5 @@ spec:
|
|||||||
storageClassName: {{ .Values.storageclass.name }}
|
storageClassName: {{ .Values.storageclass.name }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.storageclass.size }}
|
storage: {{ .Values.storageclass.logStorageSize }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -122,7 +122,7 @@ spec:
|
|||||||
storageClassName: {{ $.Values.storageclass.name }}
|
storageClassName: {{ $.Values.storageclass.name }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ $.Values.storageclass.size}}
|
storage: {{ $.Values.storageclass.logStorageSize}}
|
||||||
{{- if eq (int .Values.replicaCount) 4 }}
|
{{- if eq (int .Values.replicaCount) 4 }}
|
||||||
{{- range $i := until (int .Values.replicaCount) }}
|
{{- range $i := until (int .Values.replicaCount) }}
|
||||||
- metadata:
|
- metadata:
|
||||||
@@ -132,7 +132,7 @@ spec:
|
|||||||
storageClassName: {{ $.Values.storageclass.name }}
|
storageClassName: {{ $.Values.storageclass.name }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ $.Values.storageclass.size}}
|
storage: {{ $.Values.storageclass.dataStorageSize}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- else if eq (int .Values.replicaCount) 16 }}
|
{{- else if eq (int .Values.replicaCount) 16 }}
|
||||||
- metadata:
|
- metadata:
|
||||||
@@ -142,6 +142,6 @@ spec:
|
|||||||
storageClassName: {{ $.Values.storageclass.name }}
|
storageClassName: {{ $.Values.storageclass.name }}
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ $.Values.storageclass.size}}
|
storage: {{ $.Values.storageclass.dataStorageSize}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -147,6 +147,7 @@ affinity: {}
|
|||||||
|
|
||||||
storageclass:
|
storageclass:
|
||||||
name: local-path
|
name: local-path
|
||||||
size: 256Mi
|
dataStorageSize: 256Mi
|
||||||
|
logStorageSize: 256Mi
|
||||||
|
|
||||||
extraManifests: []
|
extraManifests: []
|
||||||
|
|||||||
Reference in New Issue
Block a user