This will work if you get static IP for kubernetes host.

https://github.com/kubernetes/kubernetes/issues/80122
https://github.com/aws/amazon-vpc-cni-k8s/issues/652
https://github.com/cbeneke/hcloud-fip-controller
https://docs.projectcalico.org/v3.10/networking/add-floating-ip

And then start kamailio container with host network

Also you can customize kubernetes nodegroup init scripts or image to
assign static IP at node boot procedure.
As example assign network interface with preconfigured private IP and
elastic for Amazon cloud.
https://github.com/awslabs/amazon-eks-ami
https://github.com/kamailio/kamailio/issues/2109

Sergey

On Fri, Nov 1, 2019 at 9:46 AM Gaurav Bmotra <[email protected]>
wrote:

> hello
> everyone i m working on a project kamailio on kubernetes
> for high availability and auto scalability
> but as i  m able to run it in side the cluster with using kubenetes
> feature
> but having issue to access the service form outside the cluster
>
> i m using the ingress in kubernetse to point  the service
> its flow like that
>
> domain.com:80
> ------ingress-controler--------kamailio-service:80:5060-------
> POD(kamailio)5060
> ISSUE IS I M NOT GETING CONNECTION BITWEEN DOMAIN.COM TO POD(kamailio)
> is there any one ho can help me in this
>
> thank you
>
>
>
> --
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to