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.
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.