Reputation: 85
If host is * in ingress resource, how do I curl path? use Nginx Ingress Controller
curl -kL <ingress-ip>/path
curl -kL <controller-service-ip>/path
curl -kL <node-ip>/path
Is only curl -kL /path possible?
Upvotes: 0
Views: 898
Reputation: 22279
You have not told what Ingress implementation you are using. Some ingress services even run outside of Kubernetes so there is no generic answer except running kubectl describe ingress <my-ingress>
then curl whatever address it shows.
Upvotes: 2