0

I am trying to mount and use googleBucket in multiple pods in kubernetes "cluster" for our use case. (GFS and NFS are viable solutions but not for us)

I am able to mount the bucket and can see the contents of the bucket but when I am trying to write to it by touching a file or creating a directory it is giving me following error:

root@bucket-5f88fd5fd7-j84mg:/mnt# touch test
touch: cannot touch 'test': Input/output error

I know there is some permission issue. Do I need to install gcloud sdks too ? or is there some environment variable I can set to get rid of this error. I read somewhere we can use "GOOGLE_APPLICATION_CREDENTIALS" but how to use this I was not clear.

Stunn3r
  • 53
  • 1
  • 12
  • You can run gcsfuse with the `--foreground` flag to see what the underlying error is. If it's persistent, then it's very likely a permissions problem with your credentials. – jacobsa Jun 08 '18 at 00:13

1 Answers1

0

You can run gcsfuse with the --foreground flag to see what the underlying error is. If it's persistent, then it's very likely a permissions problem with your credentials.

Jason
  • 628
  • 3
  • 10