Lots of real world use cases involve load balanced TCP or UDP services, the service discovery is optimized for that.
If you need pod-direct accessibility, the StatefulSet headless service feature will give each pod a unique DNS name and auto-update it when the pod IPs change.
That said, legacy migration into Kubernetes was WAY Oversold by some.
If you need pod-direct accessibility, the StatefulSet headless service feature will give each pod a unique DNS name and auto-update it when the pod IPs change.
That said, legacy migration into Kubernetes was WAY Oversold by some.