What would be an ideal way to share writable volume across containers for a web server?

前端 未结 3 869
半阙折子戏
半阙折子戏 2020-12-22 12:25

The application in question is Wordpress, I need to create replicas for rolling deployment / scaling purposes.

It seem can\'t create more then 1 instance of the sam

3条回答
  •  执念已碎
    2020-12-22 13:03

    You can use Regional Persistent Disk. It can be mounted to many nodes (hence pods) in RW more. These nodes can be spread across two zones within one region. Regional PDs can be backed by standard or SSD disks. Just note that as of now (september 2018) they are still in beta and may be subject to backward incompatible changes.

    Check the complete spec here: https://cloud.google.com/compute/docs/disks/#repds

提交回复
热议问题