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

支持RAW缓存卷 #175

Open
snwyc opened this issue Feb 21, 2023 · 0 comments
Open

支持RAW缓存卷 #175

snwyc opened this issue Feb 21, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.

Comments

@snwyc
Copy link
Contributor

snwyc commented Feb 21, 2023

Is your feature request related to a problem?/Why is this needed

目前carina项目只支持数据卷LVM和缓存卷LVM的管理模式;
如果raw做为缓存卷,性能会比lvm缓存卷性能更好。

Describe the solution you'd like in detail

比如:创建SC
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: carina-lvm-cache-raw-xfs
provisioner: carina.storage.io
parameters:
csi.storage.k8s.io/fstype: xfs
carina.storage.io/backend-disk-group-name: carina-lvm
carina.storage.io/cache-disk-group-name: carina-cache-raw

carina.storage.io/cache-disk-ratio: "50"
carina.storage.io/cache-policy: writethrough
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer

Describe alternatives you've considered

Additional context

@antmoveh antmoveh added enhancement New feature or request good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

2 participants