<p>Could you try look this output.</p>
<div class="highlight highlight-source-shell"><pre>[safarov@safarov-dell <span class="pl-k">~</span>]$ kubectl <span class="pl-c1">exec</span> -it proxy-dc0-0 -- sh
Defaulting container name to proxy.
Use <span class="pl-s"><span class="pl-pds">'</span>kubectl describe pod/proxy-dc0-0 -n ippbx<span class="pl-pds">'</span></span> to see all of the containers <span class="pl-k">in</span> this pod.
/ <span class="pl-c"><span class="pl-c">#</span> hostname -f</span>
proxy-dc0-0.proxy-dc0.ippbx.svc.cluster.local
/ <span class="pl-c"><span class="pl-c">#</span> hostname</span>
proxy-dc0-0</pre></div>
<p>Here pod <code>proxy-dc0-0</code> member of <code>proxy-dc0</code> statefulset in <code>ippbx</code> namespace.<br>
Think <code>kamailio</code> may use similar API calls.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2119?email_source=notifications&email_token=ABO7UZMYIFTVWT4JSK245XLQSN7ZFA5CNFSM4JHLXPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIXNMQ#issuecomment-550598322">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKT4JDSYSIYFOMHPU3QSN7ZFANCNFSM4JHLXPFQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZN2HJDCFKFSDJTN6QDQSN7ZFA5CNFSM4JHLXPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIXNMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2119?email_source=notifications\u0026email_token=ABO7UZMYIFTVWT4JSK245XLQSN7ZFA5CNFSM4JHLXPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIXNMQ#issuecomment-550598322",
"url": "https://github.com/kamailio/kamailio/issues/2119?email_source=notifications\u0026email_token=ABO7UZMYIFTVWT4JSK245XLQSN7ZFA5CNFSM4JHLXPF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDIXNMQ#issuecomment-550598322",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>