Hostname for an application

Its all a bit of magic at the momment.

I have a single node/cluster setup right now.
I would like to understand if you can configure a hostname internal of the network for a single deployed application.
So if the application moves between nodes external users dont need to call host its running on.

I presume this is possible - but im a bit noob right now to figure out where to start.

Thanks in advance

This is what a “service” is in kubernetes. It selects a set of pods and provides a fixed name that resolves to access those pods.