I read a lot about scaling the videobridge but I think it’s not possible to scale it inside kubernetes for some reasons I think but please prove me wrong - this would help a lot.
- Each instance must run on a single node or have an own node port
- Each instance must have a unique
--subdomainargument for the node port
- Before you shut down an instance you have to wait until nobody is still using it anymore
- You can’t use a single deployment because the service will loadbalance them automatically (relates to 1.)
One idea I had while writing this topic is to have one deployment for each videobridge which are scaled to 0 by default. And one container which will scale them to 1 when needed using the Kubernetes API. So maybe an Kubernetes Operator would be a solution.