You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add PosixFS as alternative storage mode to S3
- Configure separate persistence for PosixFS volumes
- Enable volume separation for system and user data
- Tested successfully on Rackspace with 100GB user storage
Co-authored-by: Teo Hoinaru <[email protected]>
|`opencloud.storage.s3.external.createBucket`| Create bucket if it doesn't exist |`true`|
290
299
300
+
### OpenCloud PosixFS Storage Settings
301
+
302
+
The following options allow setting up a POSIX-compatible filesystem (such as NFS or CephFS) for user file storage instead of S3. This is useful for environments where object storage is not available or not desired.
303
+
304
+
| Parameter | Description | Default |
305
+
| --------- | ----------- | ------- |
306
+
|`opencloud.storage.posixfs.idCacheStore`| Cache store, between 'memory', 'redis-sentinel', 'nats-js-kv', 'noop' |`nats-js-kv`|
307
+
|`opencloud.storage.posixfs.rootPath`| Path of storage root directory in openCloud pod |`/var/lib/opencloud/storage`|
308
+
|`opencloud.storage.posixfs.persistence.enabled`| Enable persistence for PosixFS |`true`|
309
+
|`opencloud.storage.posixfs.persistence.existingClaim`| Name of existing PVC instead of the settings below |`""`|
310
+
|`opencloud.storage.posixfs.persistence.size`| Size of the PosixFS persistent volume |`30Gi`|
311
+
|`opencloud.storage.posixfs.persistence.storageClass`| Storage class for PosixFS volume |`""`|
312
+
|`opencloud.storage.posixfs.persistence.accessMode`| Access mode for PosixFS volume |`ReadWriteMany`|
313
+
314
+
**Note:** When using `posixfs` mode, ensure that the underlying storage supports the required access mode (e.g., `ReadWriteMany` for multiple replicas). The underlying filesystem must support `flock` and `xattrs` so for NFS the minimum version is 4.2.
315
+
291
316
### NATS Messaging Configuration
292
317
293
318
| Parameter | Description | Default |
@@ -435,7 +460,7 @@ The following HTTPRoutes are created when `httpRoute.enabled` is set to `true`:
435
460
- Port: 8080
436
461
- Headers: Adds Permissions-Policy header to prevent browser features like interest-based advertising
437
462
438
-
3. **MinIO HTTPRoute** (when `opencloud.storage.s3.internal.enabled` is `true`):
463
+
3. **MinIO HTTPRoute** (when `opencloud.storage.mode` is `s3` and `opencloud.storage.s3.internal.enabled` is `true`):
{{- if and .Values.opencloud.storage.s3.internal.enabled .Values.opencloud.storage.s3.internal.httpRoute.enabled }}
72
+
{{- if and (eq .Values.opencloud.storage.mode "s3") .Values.opencloud.storage.s3.internal.enabled .Values.opencloud.storage.s3.internal.httpRoute.enabled }}
Copy file name to clipboardExpand all lines: charts/opencloud/templates/gateway/minio-httproute.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
{{- if and .Values.httpRoute.enabled .Values.opencloud.storage.s3.internal.enabled .Values.opencloud.storage.s3.internal.httpRoute.enabled }}
1
+
{{- if and .Values.httpRoute.enabled (eq .Values.opencloud.storage.mode "s3") .Values.opencloud.storage.s3.internal.enabled .Values.opencloud.storage.s3.internal.httpRoute.enabled }}
Copy file name to clipboardExpand all lines: charts/opencloud/templates/minio/pvc.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
{{- if and .Values.opencloud.storage.s3.internal.enabled (and .Values.opencloud.storage.s3.internal.persistence.enabled (not .Values.opencloud.storage.s3.internal.persistence.existingClaim)) }}
1
+
{{- if and (eq .Values.opencloud.storage.mode "s3") .Values.opencloud.storage.s3.internal.enabled (and .Values.opencloud.storage.s3.internal.persistence.enabled (not .Values.opencloud.storage.s3.internal.persistence.existingClaim)) }}
{{- if and (not .Values.opencloud.storage.s3.external.existingSecret) .Values.opencloud.storage.s3.external.enabled }}
22
+
{{- if and (eq .Values.opencloud.storage.mode "s3") (not .Values.opencloud.storage.s3.external.existingSecret) .Values.opencloud.storage.s3.external.enabled }}
0 commit comments