apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: path-based-ingress
spec:
rules:
- http:
paths:
- path: /foo
backend:
serviceName: http-svc
servicePort: 80
But when I make a request to the host ip address with a path (i.e. curl -i http://1.2.3.4/foo), I get a "404 - Not Found" response. If I change the path in the ingress config file to just "/" and run "curl -i http://1.2.3.4/", everything works fine; I get a valid response.
Thanks in advance for any help!
--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.