I have an existing filestore which I was using as an NFS mount in the pods in ReadWriteMany mode. I wanted to move to use CSI driver. But when I tried using the Google documentation for the same https://cloud.google.com/filestore/docs/csi-driver . It is trying to provision and new filestore and I dont see an option to use existing filestore.
Is there an option to use an existing filestore instance with CSI driver ?
CodePudding user response:
The Filestore CSI driver is the primary way for you to use Filestore instances with Google Kubernetes Engine. The Filestore CSI driver provides a fully-managed experience powered by the open source Google Cloud Filestore CSI driver.
You can access existing Filestore instances by using pre-provisioned Filestore instances in Kubernetes workloads. You can also dynamically create or delete Filestore instances and use them in Kubernetes workloads with a StorageClass or a Deployment.
Requirements
To use the Filestore CSI driver, your clusters must use GKE version 1.21 or later.
To use the Filestore Multishares capability, your clusters must use GKE version 1.23 or later.
The Filestore CSI driver is supported for clusters using Linux only; Windows Server nodes are not supported.