Hi
PavithraYou can use the kubedns/CoreDNS of the kubernetes cluster to resolve Internal DNS records of the pods.To assign DNS records for each POD you have to deploy a service and set the ClusterIP: none. and the dns record will be something like kamailio.kamalio-service.platform.svc.cluster.localwhich is the podname.servicename.namespace.svc.cluster.localIn the resolve.conf you will put the kubeDNS/CoreDNS IP as the nameserver. You can set this in the kubernetes manifest filednsPolicy: "None"
dnsConfig:
nameservers:
- 10.34.0.1 (
kubeDNS/CoreDNS )AbdirahmanOn Tue, 25 Aug 2020 at 15:34, Sergey Safarov <s.safarov@gmail.com> wrote:I am not k8s developer.
So cannot provide detailed instructions. Just my point of view.
You can look
https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
https://www.magalix.com/blog/creating-custom-kubernetes-operatorsOn Tue, Aug 25, 2020 at 7:41 PM Pavithra Mohanraja <pavimohan3004@gmail.com> wrote:Hi,It would be helpful if you could elaborate what has to be done for kubernetes pods when you mention sip ingressThanks,
PavithraOn Tue, Aug 25, 2020, 9:32 PM Sergey Safarov <s.safarov@gmail.com> wrote:Lot of issues with static IP in Kubernetes.Looks as need deploy "sip ingress" like "HTTP/HTTPS ingress" and then route calls to pods.On Tue, Aug 25, 2020 at 4:40 PM Pavithra Mohanraja <pavimohan3004@gmail.com> wrote:Hi,I am configuring kamailio IMS as kubernetes pods .so each component will be configured as separate pod .In order to establish a connection between pods , I am configuring bind9 dns server in pcscf pod itself. Communication is happening via Pod IP address.Is there any possibility to have the communication using cluster IP . If anybody is aware of kubernetes, Please help me in this regard.I have my /etc/resolv.conf file in pods withnameserver <clusterIP>search <cluster-dns-domain-name>Please help.Thanks,Pavithra
_______________________________________________
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
_______________________________________________
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