#Netapp LUN with Trident

1 messages · Page 1 of 1 (latest)

gilded lily
#

I got the LUN from netapp storage. But unfortunately i dont have admin access for the SVN. I want to use this Iscsi device with my kubernetes cluster. Is there a way to provision PVC dynamically using LUN by using trident. I will get iqn and LUN id details only

gilded lily
#

Netapp LUN with Trident

strange quartz
#

Trident needs either an admin user on the whole cluster, or an admin user on the SVM for dynamic provisioning of LUNs. If you need to use the LUN that you already have, there's documentation on how to use the "volume import" feature to do that

gilded lily
#

HI @strange quartz , Nice to hear. So from the volume import, is it possible for me to create the multiple PVC from same LUN import.

strange quartz
#

here is the list of supported volume modes. RWX is supported, but only in block mode (without a filesystem) so it depends on the application

gilded lily
#

@strange quartz , Just one last question. I have only one LUN from ONTAP SAN , from that is it possible to create the many PVC from it.

#

Otherway, Is it possible for me to import volumes to create so many pvcs.. I mean 1 LUN with many dynamic PVC creation ?

strange quartz
#

it is simple, really. If you want to use Trident in any sensible way, you need admin access to the SVM. There's no way around that

#

you cannot share one LUN with multiple pods. that's not how it works and it doesn't make sense in a containerized environment anyway

#

that's exactly why CSI was created, to make it possible for every pod to get the PVC it needs of the size it needs and with the attributes it needs

torpid ginkgo
#

@gilded lily , the best would to ask the storage team to provide you with a full SVM, so that you can use Trident to dynamically create many PVC..
If they are afraid on the consumption you may have on it, please tell them they can setup on the SVM:

  • a maximum number of volumes it can host
  • a maximum logical capacity it can host
#

that way they still have full control

#

in your context of 1 single LUN, you can only get one single PVC.
then the access mode will define how it is mounted to pods within one single namespace (RWO, RWX, ...)
if you want multiple PVC, you need multiple LUNs

gilded lily
#

Sure

#

Now its clear