0
votes

In a consul cluster, I have few servers and few clients. Each client node is primarily a VM that hosts bunch of docker containers and each docker container is registered as service in the node/catalog.

My question is, like client node, can (or should) server node also have docker containers registered as services ? or is it only consul clients who are supposed to host and provide services ?

1

1 Answers

0
votes

I think it doesn't matter, just monitor how much resources the consul server needs for your load. Start with a dedicated consul server and once you figured out the spare resources use them for your container services.

Looking at the performance requirements https://www.consul.io/docs/guides/performance.html indicating cpu intensive work, a dedicated consul only server would probably be recommended