K8S CSI Using libvirt VMs
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: storage-libvirt-xfs-retain
provisioner: lu.lxc.csi.libvirt
parameters:
csi.storage.k8s.io/fstype: xfs
pool: pool
bus: virtio # virtio/usb/sata/ide
reclaimPolicy: Retain
allowVolumeExpansion: true
- SCSI or other Rescan on node