This page provides troubleshooting information to help address issues you might encounter while using Filestore with GKE.
Unable to access file share from GKE clusters
For more troubleshooting information relating to Kubernetes or Google Kubernetes Engine, you can also refer to the official Kubernetes troubleshooting guide and the GKE troubleshooting guide.
Error: Output: mount.nfs: access denied by server while mounting x.x.x.x:/file-share-name
Make sure that the values of the PV spec.nfs.path and spec.nfs.server match
with the name of the file share and the IP address of the Filestore
instance, respectively.
Example:
If your file share is named vol1 and the IP address of the
Filestore instance is 10.0.0.2, the PV spec.nfs.path and
spec.nfs.server must match those values:
apiVersion: v1
kind: PersistentVolume
metadata:
name: fileserver
spec:
capacity:
storage: 2T
accessModes:
- ReadWriteMany
nfs:
path: /vol1
server: 10.0.0.2