Replies: 9 comments 15 replies
-
Cluster Operator fully supports deploying multiple clusters to the same and/or different namespaces. However, it won't help you deploy a single service to expose them all (it only provision things per cluster). Can you elaborate on what you are trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
I plan to use Rabbitmq in our k8s environment to make an mqtt broker for the Internet of Things. Vertical scale is our first choice, but as the number of devices increases, horizontal scale is required. However, if it is a horizontal scale, it is ideal for the device to connect to the mqtt broker with the same domain name and load a balance to different mqtt brokers. |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin Thanks very much for your response! To make sure we are on the same page, i draw two diagram: 1. My origin solution:But it can not deploy a single service to expose them all , and it is hard to figure out how to transfer relevant messages from NameSpace1 Cluster to NameSpace2 Cluster 2. Your suggested solutionThe node you mentioned is the pod in k8s world, right? your suggestions is one cluster with multiple pods and adding one pod will add one million connections, is my understanding right? And what's your suggested config(cpu and memory) for each pod? |
Beta Was this translation helpful? Give feedback.
-
My planning:
|
Beta Was this translation helpful? Give feedback.
-
We have not started deploying yet, as we are studying the feasibility of the solution as Google's IoT has expired and we need to use Rabbitmq as our alternative solution! That's why I inquired about the feasibility of horizontal and vertical scaling. If a cluster can meet the best requirements for millions of devices, all devices can use one mqtt address We also consider to scable horizontally by grouping devices, and the worst-case scenario is for each device in a group to have an address of rabbitmq |
Beta Was this translation helpful? Give feedback.
-
Hi @janiu-001 |
Beta Was this translation helpful? Give feedback.
-
@HowardTwine Thanks very much! we just start the testing, will update you when we finish the testing |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin I tried the retained feature today, looks like it is not very stable, the highlighted sub don't get the message. Would you help to take a look? our testing based on rabbitmq:3.12.0-beta.6-management with 3 pods |
Beta Was this translation helpful? Give feedback.
-
“You can find our test configuration and some results here: https://github.com/rabbitmq/mqtt-testing and in the blog post mentioned” we will start our load testing, in our previous discussion, you provided a link about the configuration and some results, but i cannot open it, would you help providing a right link? |
Beta Was this translation helpful? Give feedback.
-
Hi Expert,
I plan to deploy multiple Rabbitmq cluster in different k8s namespace, But I also expect to be able to access the mulitple cluster through an address(one URI). I do this because we can horizontal scale based on business.
Very appreciated for your response and suggestions!
Beta Was this translation helpful? Give feedback.
All reactions