https://bz.apache.org/bugzilla/show_bug.cgi?id=66660

--- Comment #19 from Diego Rivera <diego.riv...@armedia.com> ---
(In reply to jfclere from comment #17)
> I need the pod.yaml and the service.yaml you are using, otherwise it is just
> guessing.

Trust me, they wouldn't make a difference.

Services are designed to be blackbox facades for pods. You know there are pods
behind the service, but you're not supposed to know which pods without actually
looking through the K8s API (which, again, has been covered).

Go ahead and deploy that in K8s (I don't know if K3s or K3d will do things
differently), and you'll see that the Service will get one IP, which is
different from the pod IP.

Specifically, if you add a 2nd or 3rd or 4th pod, you won't get their IPs when
you run a DNS query for the Service name.

Cheers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to