intael
intael

Reputation: 518

Google Cloud Storage as volume for Kubernetes Stateful Set

Is it possible to mount a GCP Storage bucket into a kubernetes Pod? I am aware about other volume options such as Persistent Volume Claims backed by GCP's Standard Persistent Disks which are the Disks used in GCP's Compute Engines. However, when a Standard Persistent Disk is attached to a Compute Engine, it can not be shared with a Pod.

My use case requires being able for external applications to write on some kind of Storage and at the same time have that storage mounted into a kubernetes Pod.

Upvotes: 1

Views: 1332

Answers (1)

Anton Matsiuk
Anton Matsiuk

Reputation: 690

You need some PV with ReadWriteMany access mode, according to this table there are no such options in GCP out-of-box. A solution would be to provision your own NFS server for that e.g. as descirbed here

Upvotes: 2

Related Questions