alibaba / alibaba/open-local

I need LVM to specify a SSD or HDD type disk

Open
#255 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
515
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Does the openlocal lvm type support specifying mediaType
I need LVM to specify a SSD or HDD type disk

for example
```
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: lvm-xfs-ssd
{{ include "local.labels" . | indent 2 }}
provisioner: {{ .Values.driver }}
parameters:
volumeType: "LVM"
csi.storage.k8s.io/fstype: xfs
mediaType: ssd
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Trace how open-local handles LVM StorageClass parameters and disk selection, then check the existing LVM provisioning tests; done means an SSD or HDD mediaType can be specified in a StorageClass and the selected disk type is honored.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.