Filestore instances are fully managed file servers on Google Cloud that
you can use as durable storage with [ReadWriteMany](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes.md.txt#access_modes)
access for your Google Kubernetes Engine (GKE) clusters.

- As a type of durable or [non-ephemeral](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/storage-overview.md.txt)
  storage, your data persists beyond the lifecycle of your GKE
  Pods.

- As durable storage with [ReadWriteMany](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes)
  access, your GKE [PersistentVolumes](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes.md.txt#persistentvolumes)
  can be mounted as read-write by many nodes.

- Unlike the single read-write access mode inherent to Persistent Disk, Filestore
  instances are accessible from multiple GKE nodes simultaneously.
  This lets you initiate Pods on any available GKE node, giving you greater
  efficiency of your GKE clusters.

- As a type of [file storage](https://docs.cloud.google.com/filestore/docs/overview.md.txt), Filestore
  supports multiple concurrent application instances accessing the same file
  system, simultaneously.

For more information, see [Deploy a stateful workload with Filestore](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workload.md.txt).

## Filestore and the GKE Filestore CSI driver

The GKE Filestore CSI driver is the primary way for you
to use Filestore instances with GKE and provides the
following benefits:

- You have access to fully-managed NFS storage through the Kubernetes
  APIs ([`kubectl`](https://kubernetes.io/docs/tasks/administer-cluster/access-cluster-api)).

- You can use the GKE Filestore CSI driver to
  dynamically provision your PersistentVolumes. In GKE version
  1.37.1 and later, if you request a shared, multi-writer PersistentVolumeClaim
  without specifying a StorageClass, GKE automatically uses
  the `regional-rwx` StorageClass by default. For more information, see
  [Default StorageClass assignment](https://docs.cloud.google.com/filestore/docs/csi-driver.md.txt#default-rwx).

- You can use the GKE Filestore CSI driver to decouple
  capacity from performance, allowing the dynamic scaling of performance. For
  more information, see [Dynamically scale Filestore performance using
  VolumeAttributesClass](https://docs.cloud.google.com/filestore/docs/csi-driver#scale-custom-performance).

- You can use the GKE Filestore CSI driver to create
  [CSI volume snapshots](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/volume-snapshots.md.txt)
  which subsequently create [Filestore backups](https://docs.cloud.google.com/filestore/docs/backups.md.txt).

For a detailed list of benefits, see
[Access instances with the GKE Filestore CSI driver](https://docs.cloud.google.com/filestore/docs/csi-driver.md.txt).

## Filestore multishares for GKE

Filestore multishares for GKE combined with the
[GKE Filestore CSI driver](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/filestore-csi-driver.md.txt),
version 1.27 or later, provides the following benefits:

- Provides a comprehensive view of your PersistentVolumes as one pool of storage.

- Supports [dynamic volume provisioning](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/),
  scaling share and instance capacity up or down as needed.

- Supports multiple shares with smaller, more flexible sizing for improved
  utilization and cost efficiency of each Filestore instance.

For more information, see [Filestore multishares for GKE](https://docs.cloud.google.com/filestore/docs/multishares.md.txt).

## What's next

- [Deploy a stateful workload with Filestore](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/stateful-workload.md.txt)
- [StorageClasses and dynamic volume provisioning](https://docs.cloud.google.com/filestore/docs/multishares.md.txt#storageclasses_and_dynamic_volume_provisioning)
- [Access Filestore instances with the Filestore CSI driver](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/filestore-csi-driver.md.txt)
- [Filestore multishares for GKE](https://docs.cloud.google.com/filestore/docs/multishares.md.txt)
- [Optimize storage with Filestore multishares for GKE](https://docs.cloud.google.com/kubernetes-engine/docs/tutorials/optimize-multishares.md.txt)
- [Encrypt your GKE clusters' persistent storage using CMEK](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/using-cmek.md.txt#create_a_cmek_protected_attached_disk)