简体   繁体   English

使用Percona XtraDB Cluster Docker映像进行服务发现

[英]Service discovery with Percona XtraDB Cluster docker image

I'd like to set up a Percona XtraDB Cluster using this Docker image . 我想使用此Docker映像设置Percona XtraDB集群。 The documentation for the Docker image assumes the use of the etcd discovery service. Docker映像的文档假定使用etcd发现服务。

My question is this: Doesn't Docker ship with a built in service discovery (ie DNS server), makeing the use of etcd redundant? 我的问题是:Docker是否不附带内置服务发现(即DNS服务器),从而使etcd的使用变得多余? Or are there use cases where the build in service discovery is still needed? 还是在某些情况下仍需要内置服务发现? How would one typically go about using the build in service discovery for muliti host setups? 通常如何将内置服务发现用于muliti主机设置?

From what I have read, Docker discovery service is only available on docker-swarm-based images/setups. 据我了解,Docker发现服务仅在基于docker-swarm的映像/设置上可用。 This PXC Docker image is not swarm capable and thus uses an external discovery service. 该PXC Docker映像不具有群集功能,因此使用外部发现服务。 Running etcd is completely optional, as stated on the Docker image README. 如Docker映像README所述,运行etcd是完全可选的。 You can manually specify each other node when starting multiple nodes. 启动多个节点时,您可以手动指定每个其他节点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Docker Compose:Percona XtraDB 集群引导 - Docker Compose : Percona XtraDB Cluster Bootstrapping 如何使用 Docker 创建 Percona XtraDB 集群? - How can I create Percona XtraDB cluster with Docker? Docker中的Bootstraping Percona Xtradb Cluster出现错误:无法打开和锁定特权表:表'mysql.user'不存在 - Bootstraping Percona Xtradb Cluster in Docker gives the error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 在容器中恢复 Percona Xtradb - Recover Percona Xtradb in container Docker服务发现和守护程序 - Service discovery and daemons with docker 微服务中的服务发现与 docker 中的服务发现 - service discovery in microservices Vs service discovery in docker Docker群和服务发现 - Docker swarm and service discovery 放置单独的服务发现并将其集成到Docker Swarm中的集群计算机之间有什么区别 - What is the different between putting a separate service discovery and integrate it into the cluster machine in Docker Swarm AWS Opsworks Docker服务发现 - AWS opsworks docker service discovery Docker中的Elasticsearch 2.0.0集群Zen Zen发现 - Elasticsearch 2.0.0 cluster zen discovery in docker
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM