Http route question error

rob_kodekloud
Sun, 19 Apr 2026 23:50:15 +0000

Backend seems to work fine AFAICT. Just tried the solution as posted for Q6; when I do that, “curl http://cluster2-controlplane:30080” works fine.

cluster2-controlplane ~ ➜  k apply -f q6.yaml
httproute.gateway.networking.k8s.io/web-route created

cluster2-controlplane ~ ➜  curl http://cluster2-controlplane:30080



Welcome to nginx!

html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }



Welcome to nginx!
If you see this page, nginx is successfully installed and working.
Further configuration is required for the web server, reverse proxy,
API gateway, load balancer, content cache, or other features.

For online documentation and support please refer to
nginx.org.
To engage with the community please visit
community.nginx.org.
For enterprise grade support, professional services, additional
security features and capabilities please refer to
f5.com/nginx.

Thank you for using nginx.



cluster2-controlplane ~ ➜  k -n nginx-gateway get svc
NAME            TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
nginx-gateway   NodePort    172.20.138.16   <none>        80:30080/TCP,443:30081/TCP   12m
web-service     ClusterIP   172.20.42.130   <none>        80/TCP                       4m57s