OpenSight / janus-cloud

a cluster solution for Janus WebRTC server, by API proxy approach
GNU Affero General Public License v3.0
205 stars 49 forks source link

How to add a server without shutting down the proxy server #25

Closed jongilnose closed 2 years ago

jongilnose commented 2 years ago

Hello I have a question. While running janus-cloud I want to add one more janus server. How to add a server without shutting down the proxy server How should I implement it?

jamken commented 2 years ago

of course, no need to stop janus-proxy. I think you use the static janus server list feature which is in janus-proxy.yml. This feature is actually used to test the multi backend server feature of the proxy, so that it's not used in the real environment. Please use the janus-sentinel instead, which can supervise the status of janus process (restart it when crash) and and report it to janus-proxy. Enjoy yourself.

jongilnose commented 2 years ago

Thank you for answer. I have additional questions. If you want to use janus-cloud in kubernetes. Like you said. Do you also configure pods using docker (sentinel + janus server)?

jamken commented 2 years ago

No docker image by now, Thanks