Open ElectroshockGuy opened 6 months ago
I do not see PersistentVolume defined.
Sorry, I forgot this important information, this is PV
apiVersion: v1
kind: PersistentVolume
metadata:
annotations:
pv.kubernetes.io/provisioned-by: seaweedfs-csi-driver
volume.kubernetes.io/provisioner-deletion-secret-name: ''
volume.kubernetes.io/provisioner-deletion-secret-namespace: ''
creationTimestamp: '2024-03-12T07:35:56Z'
finalizers:
- kubernetes.io/pv-protection
- external-attacher/seaweedfs-csi-driver
name: pvc-02ad6940-8a09-4066-85da-71858d6caf55
resourceVersion: '6273947'
uid: 686635ad-090b-40fe-b4ea-a912215dd1b9
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 15Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: seaweedfs-block-1
namespace: seaweedfs
resourceVersion: '6273452'
uid: 02ad6940-8a09-4066-85da-71858d6caf55
csi:
driver: seaweedfs-csi-driver
volumeAttributes:
storage.kubernetes.io/csiProvisionerIdentity: 1710228321411-4743-seaweedfs-csi-driver
volumeHandle: pvc-02ad6940-8a09-4066-85da-71858d6caf55
persistentVolumeReclaimPolicy: Delete
storageClassName: seaweedfs-storage
volumeMode: Block
status:
phase: Bound
I saw you already did a lot of work on this. But the yaml files are beyond my knowledge. The root cause may be in some yaml files not shown here.
Hi, I would like to confirm if seaweedfs-csi-driver supports block pvc?
Not supporting block storage.
PVC
Select volumeDevices as BlockPod
usesvolumeDevices
to mount thePVC
.Pod
cannot successfully mount thePVC
pvc:
pod:
Weed version:
version 30GB 3.63 linux arm64
Images used:
image: registry.k8s.io/sig-storage/csi-provisioner:v3.5.0 image: registry.k8s.io/sig-storage/csi-resizer:v1.8.0 image: registry.k8s.io/sig-storage/csi-attacher:v4.3.0 image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0 image: registry.k8s.io/sig-storage/livenessprobe:v2.10.0 image: chrislusf/seaweedfs-csi-driver:latest [sha256:aaf0ffabaf51e014469a5f0794d077eace49ba3872485442bde6116e9c245e28 arm64]