Welcome to the Linux Foundation Forum!

Lab 10.1

promagnolipromagnoli Posts: 5
edited June 29 in LFS258 Class Forum

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.

My Lab:
$kubectl create -f ingress.rule.yaml
ingress.networking.k8s.io/ingress-test created

Lab Docs:
$ 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
Name: ingress-test
Namespace: default
Default backend: default-http-backend:80 ()
Host Path Backends
---- ---- --------
www.example.com / secondapp:80 (

kubernetes.io/ingress.class: traefik

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.

Any idea?


Sign In or Register to comment.