I maintain the Java side of a platform that supports a couple of hundred
services running in a number of k8s clusters. Each pod has a container
running the Java process, and a container running nginx, as a proxy to the
Java service. All the k8s service objects are type NodePort, not ClusterIP.
I don't know a lot about nginx, we consider it mostly a blackbox.
We have one service that unfortunately requires session stickiness. I am
being told that we have to change the service type for this service to
ClusterIP, because, and I quote the person who told me this:
"Nginx needs to be able to read the "endpoint" objects off of the
service. For some reason, that's not possible with NodePorts, but works
fine with ClusterIPs."
Does this make sense to anyone here? Can someone explain why this might be?
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx