I have Kong installed in a kubernetes cluster running on VMWare. Since I don’t have a load balancer, I am using nodeport for the kong proxy:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kong-proxy NodePort 10.98.75.102 80:32408/TCP,443:31725/TCP 39d
I have created an ingress, but when the website is reached and navigates to another path in the URL the nodeport is lost.
So for example when I go to
https://my-api:31725/home and the website tried to redirecto to /home/login what I get from the client is:
https://my-api/home/login and a connection error because the port was not preserved.