DushmanthaBandaranayake / jitsi-kubernetes-scalable-service

jist kubernetes service for scalable video bridges
23 stars 13 forks source link

[SOLVED] GKE private cluster, jvb scaling, jvb services as load balancer #1

Open D1987 opened 4 years ago

D1987 commented 4 years ago

Hello, thanks for your work, but I wanna to know how can I set up your approach in private cluster(GKE) with service's type loadBalancer. My nodes have an inner ip instead of external, accordingly I can't use type Node port. Maybe you can give an advice?

On the current moment I get an error - "Bridge Channel send: no opened channel" when I add the second jvb replica(I'm not use autoscaling HPA). With one replica all works.

DushmanthaBandaranayake commented 4 years ago

Hi @D1987 Have you tested that jvb UDP ports are accessible?. Fist JVB starts on UDP port 31000 .Second JVB will be stared on UDP port 31001. These ports are internal cluster ports and needed to be exposed for the jitsi user.

D1987 commented 4 years ago

I scale my jvb only in two replicas. I use udp ports 10000/10001 and tcp ports 4443/4444. I’ve added these ports in jvb-statefulset container ports. Also I have external static ip in Gke because my nodes have cluster ip. And load balancer automatically creates firewall rules for these ports in GKE. In GKE my nodes based on Container OS, these ports there are open by default.

D1987 commented 4 years ago

Eventually I've fixed it. I had to only to comment out a stun servers' variable .Also I've added JVB_PORT variable for each bridge.

shuhaib3 commented 3 years ago

@D1987 hi can you please share me your yaml file used for jitsi deployment on gke?