How to access pods using its hostname from another pod in same namespace

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.12.5
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS: ubuntu 16.04
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

See the service documentation on kubernetes website and headless services (it’s in the same page, it might be useful for your use case. Not sure :)). That is the part that explains about it, and please come back if something is not clear :slight_smile: