Hi
Pavithra
You 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.local
which is the podname.servicename.namespace.svc.cluster.local
In the resolve.conf you will put the kubeDNS/CoreDNS IP as the
nameserver. You can set this in the kubernetes manifest file
dnsPolicy: "None"
dnsConfig:
nameservers:
- 10.34.0.1 (
kubeDNS/CoreDNS )
Abdirahman
On Tue, 25 Aug 2020 at 15:34, Sergey Safarov <s.safarov(a)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-operators
On Tue, Aug 25, 2020 at 7:41 PM Pavithra Mohanraja <
pavimohan3004(a)gmail.com> wrote:
> Hi,
>
> It would be helpful if you could elaborate what has to be done for
> kubernetes pods when you mention sip ingress
>
>
> Thanks,
>
>
> Pavithra
>
>
>
>
> On Tue, Aug 25, 2020, 9:32 PM Sergey Safarov <s.safarov(a)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(a)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 with
>>> nameserver <clusterIP>
>>> search <cluster-dns-domain-name>
>>>
>>> Please help.
>>>
>>>
>>> Thanks,
>>> Pavithra
>>>
>>>
>>> _______________________________________________
>>>
>>>
>>> Kamailio (SER) - Users Mailing List
>>>
>>>
>>> sr-users(a)lists.kamailio.org
>>>
>>>
>>>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>>
>>
>> _______________________________________________
>>
>>
>> Kamailio (SER) - Users Mailing List
>>
>>
>> sr-users(a)lists.kamailio.org
>>
>>
>>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>
> _______________________________________________
>
>
> Kamailio (SER) - Users Mailing List
>
>
> sr-users(a)lists.kamailio.org
>
>
>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org