openebs-archive / device-localpv

CSI Driver for using Local Block Devices
Apache License 2.0
26 stars 17 forks source link

About Support OS #66

Open PowerYangcl opened 11 months ago

PowerYangcl commented 11 months ago

Hello Sir,this project just support Ubuntu? What about CentOS 7.9 ? I installed using CentOS 7.9, but I haven't been able to experiment successfully. Do you have to use the Ubuntu operating system?

niladrih commented 11 months ago

Hi @PowerYangcl -- Could you tell me more about the issue that you faced when using CentOS?

PowerYangcl commented 11 months ago

Env:Docker 23.0.1、Kubernetes 1.26.5; 1master + 2 work。 Linux:centOS 7.9

k8s-master1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 222.6G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot ├─sda3 8:3 0 40G 0 part / └─sda4 8:4 0 80G 0 part sdb 8:16 0 7T 0 disk

k8s-node1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 222.6G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 1G 0 part /boot ├─sda3 8:3 0 40G 0 part / └─sda4 8:4 0 80G 0 part nvme0n1 259:0 0 1.8T 0 disk

【openebs-device-sc.yaml】 kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: openebs-device-sc annotations: openebs.io/cas-type: local cas.openebs.io/config: |

【local-device-pod.yaml】 kind: PersistentVolumeClaim apiVersion: v1 metadata: name: local-device-pvc spec: storageClassName: openebs-device-sc accessModes:

【local-device-pod1.yaml】 kind: PersistentVolumeClaim apiVersion: v1 metadata: name: local-device-pvc1 spec: storageClassName: openebs-device-sc accessModes:

rohan2794 commented 10 months ago

@PowerYangcl Can you please attach controller logs as well as kubectl describe of controller sts ? Also please describe the issue which you are facing with CentOS 7.9 .