Re: [SR-Users] RUN kamailio in kubernetes
On Fri, Sep 13, 2019 at 08:39:23AM +0530, Gaurav Bmotra wrote: > Hi > Thank you for your response > Yes I m looking for > HA AND scalability If I may suggest: Kubernetes is a very complicated solution that only works well for very particular kinds of services and scenarios, and is often not the appropriate answer for scaling out Kamailio or making it redundant. It's designed primarily for the web tier of a technology stack. Moreover, Kamailio most often plays the role of a high-throughput centralised gateway and doesn't require much scaling, but instead is often itself used to scale out other, more limited and resource-intensive services. In a sense, Kamailio is the Kubernetes of VoIP, though obviously the analogy is limited. Unless you've discovered a very specific reason to use Kubernetes for your particular scenario, you almost certainly do not need or want it. If "HA and scalability" are your goals, Kubernetes is very unlikely to be the answer, and if Kubernetes is the answer, I haven't seen from you a compelling explanation as to why. If you don't have one, Kubernetes is not the answer. Making Kamailio redundant and highly available is generally accomplished through some combination of: - Database sharing (e.g. usrloc); - Internal replication and state sharing (e.g. DMQ); - Heartbeat/Pacemaker/Corosync/VRRP/UCARP and appropriate network design; - Shared-nothing or shared-little architecture; -- Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RUN kamailio in kubernetes
Hi Thank you for your response Yes I m looking for HA AND scalability On Fri, Sep 13, 2019, 12:48 AM Mack Hendricks wrote: > What features of K8s are you looking to benefit from? > > - Service Discovery (SD) of media servers > - HA > - Scalability > > If just SD then using Consul would give you that without the overhead of > K8s > > On Thu, Sep 12, 2019 at 2:01 PM Gaurav Bmotra > wrote: > >> hi >> i want to run kamailio in kubernetes deployment and i want to run >> this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help >> >> thank you >> >> -- >> >> >> >> *Regards:* >> Gaurav Kumar >> >> ___ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RUN kamailio in kubernetes
What features of K8s are you looking to benefit from? - Service Discovery (SD) of media servers - HA - Scalability If just SD then using Consul would give you that without the overhead of K8s On Thu, Sep 12, 2019 at 2:01 PM Gaurav Bmotra wrote: > hi > i want to run kamailio in kubernetes deployment and i want to run > this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help > > thank you > > -- > > > > *Regards:* > Gaurav Kumar > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RUN kamailio in kubernetes
you can check https://github.com/kubernetes/kubernetes/issues/80122 also related https://github.com/kubernetes/kubernetes/issues?utf8=%E2%9C%93=is%3Aissue+author%3Asergey-safarov+ On Thu, Sep 12, 2019 at 9:20 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > And help with what, exactly? > Kamailio runs properly on a docker. > > On Thu, 12 Sep 2019 at 19:05, Alex Balashov > wrote: > >> Why? >> >> — >> Sent from mobile, with due apologies for brevity and errors. >> >> On Sep 12, 2019, at 2:00 PM, Gaurav Bmotra >> wrote: >> >> hi >> i want to run kamailio in kubernetes deployment and i want to run >> this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help >> >> thank you >> >> -- >> >> >> >> *Regards:* >> Gaurav Kumar >> >> ___ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >> ___ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > -- > Regards, > > David Villasmil > email: david.villasmil.w...@gmail.com > phone: +34669448337 > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RUN kamailio in kubernetes
And help with what, exactly? Kamailio runs properly on a docker. On Thu, 12 Sep 2019 at 19:05, Alex Balashov wrote: > Why? > > — > Sent from mobile, with due apologies for brevity and errors. > > On Sep 12, 2019, at 2:00 PM, Gaurav Bmotra > wrote: > > hi > i want to run kamailio in kubernetes deployment and i want to run > this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help > > thank you > > -- > > > > *Regards:* > Gaurav Kumar > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] RUN kamailio in kubernetes
Why? — Sent from mobile, with due apologies for brevity and errors. > On Sep 12, 2019, at 2:00 PM, Gaurav Bmotra wrote: > > hi > i want to run kamailio in kubernetes deployment and i want to run this > kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help > > thank you > > -- > > > > Regards: > Gaurav Kumar > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users