用单个主人部署mongo数据库,在Kubernetes群集中至少有3个Worker节点中的两个读取副本
在Kubernetes群集中,将Mongo数据库和两个读取复制品部署至少3个工作区域的kubernetes群集中。
部署数据库时要记住的要点:
- DB的所有副本都应部署在DIFF可用性区域的单独工人节点中(用于高可用性)。
- 如果需要,请自动读取复制品。
- 数据应持续。
- 如果可能的话,尝试以非特权模式运行容器。
- 尽可能多地使用最佳实践。
将任务推入具有正确的读数文件的单独分支。
Deploy Mongo Database with a single master and two read replicas in the Kubernetes cluster of at least 3 worker nodes that are available in different availability zones.
Points to keep in mind while deploying the DB:
- All replicas of DB should be deployed in a separate worker node of diff Availability Zone(For high availability).
- Autoscale the read replicas if needed.
- Data should be persistent.
- Try to run the containers in nonprivileged mode if possible.
- Use best practices as much as you can.
Push the task into a separate branch with a proper README file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论