简体   繁体   中英

Mount a kubernetes pod (on GKE) to google cloud storage to persist data

I am trying to persist the data of my pods on GKE (like a docker volume).

I came across two methods and I don't know which is the go to method.

  1. Using jcsFuse.
  2. Using persistent volume and persistent volume claims.

Which is the method that would allow me to mount my pods to google cloud storage?

Thank you for the help.

I post this community wiki answer to make solution discussed at the comment section more visible. Feel free to edid and improve.

As it was suggested by @meaningqo , Persistent Volumes + Claims are the Kube.netes way to go. You can find more information at the documentation .

Alternatively you can looks for NFS solution like Google Filestore . You can find more information at the documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM