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

[FEATURE] Support dynamic cache PVC #1217

Open
sunbinnnnn opened this issue Dec 24, 2024 · 2 comments
Open

[FEATURE] Support dynamic cache PVC #1217

sunbinnnnn opened this issue Dec 24, 2024 · 2 comments
Labels
kind/feature New feature or request

Comments

@sunbinnnnn
Copy link

sunbinnnnn commented Dec 24, 2024

What feature you'd like to add:
User can only set cache SC on mountOptions, and CSI provision cache pv dynamically.

Why is this feature needed:
Most of block disk service doest not support readWriteMany, so that we can't use pvc cache no each node, and we must prepare pvc for now, it's hard to use in real production environment.

@sunbinnnnn sunbinnnnn added the kind/feature New feature or request label Dec 24, 2024
@zxh326
Copy link
Member

zxh326 commented Dec 25, 2024

If you want to implement this feature, consider writing a design draft first, such as how to configure cache size, when to create and when to delete, etc..

If Access Modes are configurable, would readWriteMany and readWriteOnce have distinct effects? would readWriteMany create a single PVC, whereas readWriteOnce creates one on each node?

@sunbinnnnn
Copy link
Author

sunbinnnnn commented Dec 26, 2024

If you want to implement this feature, consider writing a design draft first, such as how to configure cache size, when to create and when to delete, etc..

If Access Modes are configurable, would readWriteMany and readWriteOnce have distinct effects? would readWriteMany create a single PVC, whereas readWriteOnce creates one on each node?

Thx for reply. Maybe use readWriteOnce by default(if user dose not provide existed PVC) and compatible with existed PVC or add a new option for that? Anyway, design is necessary for this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants