Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadWriteMany slow and not required #150

Open
1 task done
wernight opened this issue Jun 10, 2024 · 2 comments
Open
1 task done

ReadWriteMany slow and not required #150

wernight opened this issue Jun 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@wernight
Copy link

wernight commented Jun 10, 2024

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.
@wernight wernight added the bug Something isn't working label Jun 10, 2024
@gecube
Copy link

gecube commented Jun 19, 2024

I totally agree, I think that RWX is overkill and it could be sufficient to use RWO volumes. Unfortunately, it would need massive change in the chart.

@gecube
Copy link

gecube commented Jun 19, 2024

another good option could be to replace RWX volume with direct S3 support in the application. And it will be much more scalable than using EFS on EKS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants