How to make http call to an application running inside a kubernetes pod from outside? How to make http call to an application running inside a kubernetes pod from outside? kubernetes kubernetes

How to make http call to an application running inside a kubernetes pod from outside?


I would run this utility inside the kubernetes cluster, and expose this utility to the developers that need the data. That way you only have to expose this utility, rather than exposing all the pods to allow http calls. I think it's much simpler this way.

There are different ways to expose a Kubernetes Pod to outside the cluster, but I'd recommend using Ingress, which uses a nginx proxy to route traffic coming from outside to your pod.