We are exploring the use of Docker plus Mesos / Marathon or Kubernetes to host a cluster. However, one problem we really did not see answers to is how to allow clustered services to connect to each other correctly. Everything I saw should know at least one more node before they can join the cluster. Some should know about each node. However, there is no way in Kubernetes and Mesos to find out that these IP addresses are ahead of time.
So, are there any recommendations for this? If that helps, some of the technologies we consider when deploying as containers are ElasticSearch, ActiveMQ, and MongoDB. There may be others.
source share