Hi Jerry,

You are being directed to the default backend (expected behavior without a host 
header in the request).
If you create an ingress with a host: foo.bar.com you can use 
curl -v http://node_ip:30682 -H 'Host: foo.bar.com'

On Wednesday, December 6, 2017 at 11:58:22 PM UTC-3, Jerry Hwang wrote:
> hello,
> 
> 
> 
> looking for your help.
> 
> 
> my kubernetes is 1.7.7 on SLES 12 sp3
> 
> 
> i followed this guide for nginx ingress install on physical nodes cluster.
> https://github.com/kubernetes/ingress-nginx/blob/master/deploy/README.md
> 
> 
> All deployed and service details
> 
> 
> Name:                 ingress-nginx
> Namespace:            ingress-nginx
> Labels:                       <none>
> Annotations:          
> kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"ingress-nginx","namespace":"ingress-nginx"},"spec":{"ports":[{"name":"http","p...
> Selector:             app=ingress-nginx
> Type:                 NodePort
> IP:                   172.24.163.238
> Port:                 http    80/TCP
> NodePort:             http    30682/TCP
> Endpoints:            172.16.84.6:80
> Port:                 https   443/TCP
> NodePort:             https   31069/TCP
> Endpoints:            172.16.84.6:443
> Session Affinity:     None
> Events:                       <none>
> 
> 
> However when I try
> 
> 
> https://node_ip:31069
> or
> http://node_ip:30682
> 
> 
> i always get
> default backend - 404
> 
> 
> thanks

-- 
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+unsubscr...@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.

Reply via email to