DEV Community

Discussion on: Building a headless service in Kubernetes

Collapse
ahujadipak3 profile image
Dipak Ahuja • Edited on

I have similar kind of use-case where I need to have these PODs accessible from IP:port externally. Were you able to access PODs outside of the cluster (external world)?

Collapse
kaoskater08 profile image
Eddie Hale Author

In this example, no, but you could access the pods by exposing your service or adding an ingress.

Collapse
mg40 profile image
MG40

Let's assume I do add an ingress, I get host unreachable. I see that the service & the ingress has endpoints.