Running Freeswitch on Google Container Engine
Asked Answered
C

1

5

I'm trying to migrate a voip service using freeswitch on GKE (google cloud managed kubernetes cluster) in order to make the service scalable.

I have managed to migrate freeswitch to docker and get it to run. I require a high number of ports to be open to allow the necessary traffic. Kubernetes services do not seem to allow that many ports to be open.

I then tried using the following image and kubernetes configuration 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 it isn't possible yet: https://github.com/kubernetes/kubernetes/issues/23864

But I am no expert so I might have misunderstood, therefore:

Is it possible to run a freeswitch server on GKE that is accessible through an external IP address? Or is it possible to have auto-scaling and auto-discovery of new pods by a SIP load balancer on GKE?

Commentate answered 2/8, 2017 at 13:50 Comment(0)
J
6

This is possible. There is lecture on youtube, check this out.

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

Jailer answered 1/5, 2018 at 20:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.