-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Steps To Reproduce
Set values general.volumeAccessMode=ReadWriteMany
and sharedStorageClassName=standard
and deploy.
Expected Result
Should work and work faster & cheaper than NFS.
Actual Result
Without any changes this fails with a "Multi-Attach error for volume" error because different Pods try to access the same PVC. For example dataprotection
, licences
, applogs
and secrets-store-inline
are shared among 4 or 5 Pods.
Screenshots or Videos
No response
Additional Context
The trick to avoid ReadWriteMany is using ReadWriteOnce which allows multiple Pods on the same Node to use a volume (usually). A more crude alternative is using a single Pod with multiple Containers. Also using ReadOnlyMany for any place that doesn't require writing.
Note: I think this is a bug because I see no reason common alternatives above wouldn't work in this case.
Chart Version
self-host-2024.5.0
Environment Details
No response
Issue Tracking Info
- I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.