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?
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With