You need to use either a nodeport or loadbalancer service if you want to connect from outside the cluster.
s
square-tailor-84375
08/30/2022, 7:14 AM
I already do that, problem is, that me connecting via the NodePort (http://localhost:<nodeport>) is different than what my application would use to connect to that same service.
square-tailor-84375
08/30/2022, 7:15 AM
If this was a service from the internet, I would just make my SSO service available using a public domain (https://sso.example.com). That way both my application in the same cluster and I will use the same URL to connect to the SSO app
a
aloof-controller-49647
08/30/2022, 7:23 AM
Inside the cluster you have to use the full FQDN or use a service mesh, but accessing from outside to cluster ip, you have to port forward it.