[sr-dev] [kamailio/kamailio] hostname in kubernetes (#2119)
sergey-safarov
notifications at github.com
Thu Nov 7 03:57:22 CET 2019
Could you try look this output.
```sh
[safarov at safarov-dell ~]$ kubectl exec -it proxy-dc0-0 -- sh
Defaulting container name to proxy.
Use 'kubectl describe pod/proxy-dc0-0 -n ippbx' to see all of the containers in this pod.
/ # hostname -f
proxy-dc0-0.proxy-dc0.ippbx.svc.cluster.local
/ # hostname
proxy-dc0-0
```
Here pod `proxy-dc0-0` member of `proxy-dc0` statefulset in `ippbx` namespace.
Think `kamailio` may use similar API calls.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2119#issuecomment-550598322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191106/3e9963be/attachment.html>
More information about the sr-dev
mailing list