I have a GKE cluster with different microservices that need to have access to blobs in a bucket. The same file may be accessed by different pods. File can are generally big (4Gb).
Which is the best practice for such a use case? I am confused if I should use
bucket = storage.Bucket(client, bucket, user_project=project)
blob_obj = bucket.blob(blob)
blob_obj.download_to_filename(local_file)
or I should rather install GCS fuse or if there is a third method I am not aware of
You may want to use a CSI driver if you decide to go with GCSFuse. Google doesn't have a supported CSI driver yet, but there is ofek/csi-gcs which you can find handy.