Skip to content

[FEATURES] Feature Request: Support for volumeClaimTemplates in JuiceFSRuntime #5191

@oldthreefeng

Description

@oldthreefeng

What feature you'd like to add:
I would like JuiceFSRuntime to support volumeClaimTemplates, similar to how StatefulSets in Kubernetes use volumeClaimTemplates to dynamically provision persistent storage volumes for each replica.

Why is this feature needed:
Currently, it is not possible to dynamically create and manage PVCs for each JuiceFSRuntime pod. Adding support for volumeClaimTemplates would enable more flexible and automated storage management, especially for use cases where each runtime requires its own persistent storage (e.g. scratch space, cache, or datasets that should not be shared). This feature can greatly improve scalability, manageability, and compliance with Kubernetes storage best practices.

Additional context:

Reference: StatefulSet volumeClaimTemplates documentation
This would help facilitate dynamic provisioning with various StorageClasses according to user workloads.
It would make JuiceFSRuntime better suited for cloud-native and multi-tenant environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions