[SR-Users] Kamailio and Asterisk in K8s
Julien Klingenmeyer
julien.klingenmeyer at ovhcloud.com
Thu Mar 4 18:16:12 CET 2021
Hi Hossein,
What do you mean by ‘some issue in host-mode’?
We use both Kamailio and RTPEngine in Kubernetes clusters with Multus CNI to manage both private and public interfaces and we have not encountered any issues so far with this configuration.
Kind regards
Julien
De : sr-users <sr-users-bounces at lists.kamailio.org> au nom de H Yavari <hyavari at rocketmail.com>
Répondre à : "Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org>
Date : mercredi 3 mars 2021 à 20:05
À : "Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org>
Objet : [SR-Users] Kamailio and Asterisk in K8s
Hi to all,
I am going to run multiple Asterisk instances (Pods) in my Kubernetes cluster. I have a stateless Kamailio sip proxy also. We know that K8s can't handle port range for its services, So we have to use host network for Asterisk deployment. But in this mode, Asterisk pods can't connect to other pods through local IPs and you have to add a second network interface to your pods. One solution is using something like Multus that provides multi-home pods. But it has some issue in host-mode!
Also, Using media proxy like RTPEngine in front of Asterisk instances doesn't make a change. You have to run RTPEngine in the host mode or just run it on a VM with multiple NIC.
What is the practical solution for this scenario?
Thank you.
BR
Hossein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210304/3f557011/attachment.htm>
More information about the sr-users
mailing list