3rd party csi booting works : <https://youtu.be/5V...
# harvester
t
3rd party csi booting works :

https://youtu.be/5VB8fHJuAQQ

👍 6
🙏 3
🙌 2
🎉 1
h
Where did you get the Pure FA? 😁
t
I work there now.. 😄
f
Have you tried with NFS?
t
Not yet, Should I?
Honestly, should work the same.
s
Hi @future-yak-96960, Yeah, it should work with NFS. We validated the nfs-ganesha + NFS CSI. So, the NFS should work. Feel free to bring up any issue with the new thread. I am glad to help to check.
t
Thanks. Later this week I should be able to test NFS with the portworx CSI.
🙌 1
🙏 1
s
Thanks @thousands-advantage-10804 for the nice demo!
t
Glad to help. Is there anything you would like to see?
s
It'd be great to see a simple example of making a volume on a standard Linux NFS4 NAS server.
t
Is there a NFS CSI that you want to use?
s
Imagine I'm ignorant of NFS CSI drivers but wanted to learn, but do have some NFS v4 storage from a NAS available.
t
lol. gotcha. You want to add volumes or boot vms with the nas?
s
Add volumes is the most likely real-world scenario, but why limit learning.
f
This is what I plan to do as well. I have oVirt currently with many Vms some using GlusterFS storage and some NFS. I’m aiming to eventually replace with Harvester but want to run some VMs from NFS root/data volumes. I’ve been waiting for 3rd party storage support to go stable before testing it out
t
booting VMs is in 1.5.0 which is not GA yet. Let me find the NFS-CSI to test with.
ok. I got it working. What would you like to see, a video or a gist?
👍 1
f
a video would be awesome!
t
Sure thing. give me a few minutes.
a
For the Harvester team, these would also be a nice addition to Harvester HCI knowledge base | The open-source hyperconverged infrastructure solution for a cloud-native world (once 1.5.0 is GA, of course).
h
NFS also works. I’ve used it with TrueNAS
The CSI did behave differently and the disk didn’t resize to the requested size. But I haven’t look much into it
t
@happy-cat-90847 do you have notes on the storageclass setup? I am seeing some weird behavior with the generic nfs-csi.
s
We should not have too many things to patch if we use the NFS CSI here (https://github.com/kubernetes-csi/csi-driver-nfs). Here is the NFS SC of my test environment
Copy code
allowVolumeExpansion: true
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
  name: nfs-csi
mountOptions:
- nfsvers=4.2
parameters:
  server: 172.17.68.68
  share: /volumes-cluster-1
provisioner: <http://nfs.csi.k8s.io|nfs.csi.k8s.io>
reclaimPolicy: Delete
volumeBindingMode: Immediate
And yes, we will have the document for how to configure the sample NFS server + CSI driver.
👍 1
t
I am not able to see the volume expansion when using the nfs-csi driver. Anyone else seen this?
h
Me too. @salmon-city-57654 -
t
I am going to test Harv 1.5.0_rc3 with PX-CSI --> NFS tomorrow.
h
It doesn’t happen with volumes, just images
s
The volume expansion depends on the CSI capability and using NFS for VM volume might be tricky here.
I did not dig too much into that, but will do
t
thanks. also I am using virtio