https://rancher.com/ logo
Title
m

miniature-ambulance-98143

05/03/2023, 4:11 PM
Sorry newbie question i am trying to create a NFS type PV and i see this screen. What does server field refer to , is it the NFS server? Also at present we use longhorn storage and would like to replace it with NFS server. One of the REDIS components needs this NFS and it seems like REDIS is deployed as an installed App from Rancher dashboard from helm charts and i don’t see any reference to the Storage in these charts. How do i update the storage class to change from longhorn to use my new NFS server?
b

billions-vase-14972

05/03/2023, 5:11 PM
Yes, that's referring to the NFS server. I'm not familiar with with REDIS, but in the helm chart there is a
persistence
property which should allow you to set the
storageClass
m

miniature-ambulance-98143

05/03/2023, 5:12 PM
Thanks @billions-vase-14972 I will take a look
👍 1
I don’t see the allowed values or rather the convention to follow to change to nfs. Should it be just
nfs
?
b

billions-vase-14972

05/03/2023, 5:36 PM
If the persistent volume is configured to use your nfs, you should only need to reference the volume. I don't believe redis would need to know where the volume is pointing to (i.e. doesn't need to know about the nfs specifically)
m

miniature-ambulance-98143

05/03/2023, 6:01 PM
So i don’t need a PVC?
that refers to PV?
b

billions-vase-14972

05/03/2023, 6:06 PM
Sorry, I meant to say that you'll only need to reference the pvc, or storage class.
1