I have a Kubernetes cluster made with RKE. the cluster came with an ingress controlller by default (configured by Rancher) but without nodeport attached to the controller. (an ingress controller in "ingress-nginx" namespace. )
I have defined
an ingress resource in "ingress-nginx" namespace.
a service of type Nodeport in "ingress-nginx" namespace.
my application is deployed to default namespace.
when trying to access the application I am getting the error: 404 not found nginx
this is the way I tried to access it:
http://10.11.50.36:32737/reader/info
http://ip_of_cluster:nodeport/path of may application
Have I defined all the resources in the correct namespaces?