You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would highly appreciate if anyone can give me a hint on how to resolve this.
Details
Here are my files with my PersistentVolume, PersistentVolumeClaim and Pod configuration
# pv.yamlapiVersion: v1kind: PersistentVolumemetadata:
name: gcs-fuse-csi-pvspec:
accessModes:
- ReadWriteManycapacity:
storage: 5GistorageClassName: example-storage-classmountOptions:
- implicit-dirs
- uid=65534 # Changing it to a different number does not work either
- gid=65534 # Changing it to a different number does not work either
- dir-mode=777
- file-mode=777
- o=allow_othercsi:
driver: gcsfuse.csi.storage.gke.iovolumeHandle: test-bucket-cqlrvolumeAttributes:
gcsfuseLoggingSeverity: debugclaimRef:
name: gcs-fuse-csi-static-pvcnamespace: default
We have updated our documentation. Please make sure you follow the guide below, and make sure you have workload identity enabled on all of the GKE Nodes.
Summary
After following the documentation from https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver#provision-static it is possible for my pod to read from my GCS bucket but not writing files to it.
I always get the errors like:
touch: close failed: Permission denied
mkdir: can't create directory 'tmp/dir1': Permission denied
I would highly appreciate if anyone can give me a hint on how to resolve this.
Details
Here are my files with my PersistentVolume, PersistentVolumeClaim and Pod configuration
Cloud Storage Fuse CSI driver is enabled on my cluster and I've also checked that the bucket has full permissions under my service account
Environment
GKE version:
1.30.5-gke.1443001
The text was updated successfully, but these errors were encountered: