:wave: Hello, team! I've been struggling to find a...
# kubernetes
a
👋 Hello, team! I've been struggling to find a way to get the internal IP address of nginx ingress controller pod created with the
kubernetes-ingress-nginx
library. I guess that information is only available in the pod so I've been looking in to
Pod
and
PodList
resources to get a hold on that pod's details but no luck yet as seems like there's not much examples for those. Tried the AI but it seems to hallucinate functions that don't exist probably because there's no examples. I wouldn't want to create a service for this port as it's only for internal monitoring and it should work without it just fine. Edit: I'm using TypeScript.
After investigating more about this it seems like I should be using a service with type ClusterIP for this kind of situation.