When I "curl -H "Host: www.example.com" http://k8smaster/" I get a timeout. I can curl to nginx welcome page using NodePort ClusterIP. I tried to use master IP rather than alias, but with no success.
When I create the ingress rule I notice that the response is different from those reported in the lab doc.
$kubectl create -f ingress.rule.yaml
$ kubectl create -f ingress.rule.yaml
ingress.extensions "ingress-test" created
Here is a description of the ingress that is created:
$ kubectl describe ingresses ingress-test
Default backend: default-http-backend:80 ()
Host Path Backends
---- ---- --------
www.example.com / secondapp:80 (192.168.131.30:80)
Since we create a NodePort service for the secondapp I would expect to see the NodePort ClusterIP in the backend, actually it's showing the deployment endpoint.