Launching Freeswitch on Google Container Engine

I am trying to migrate a voip service using freeswitch to GKE (google cloud managed kubernetes cluster) to make the service scalable.

I managed to get freeswitch to docker and get it running. I need a large number of ports open to provide the necessary traffic. Kubernetes services don't seem to allow many ports to be opened.

Then I tried to use the following image and kubernetes config and still couldn't contact the freeswitch server. https://github.com/sip-li/docker-freeswitch

I've seen the following issue that seems to say that this is not yet possible: https://github.com/kubernetes/kubernetes/issues/23864

But I'm not an expert, so I may have misunderstood, so:

Is it possible to run a freeswitch server on GKE, accessible via an external IP? Or is it possible to auto-scale and auto-discover new pods with a SIP load balancer on GKE?

+3


source to share


1 answer


It is possible. There is a lecture on youtube , check it out.



They implement Asterisk in Kubernetes, but the freeswitch should be similar. The main problem is RTP, they solved it with RTP proxy (kamailio RTP proxy). They also implement a balance loader using kamailio hosted on a dedicated server (NOT inside kubernetes).

0


source







All Articles