[英]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.