Failed to connect to port 8080: Connection timed out
NGINX Ingress Controller is only working using HTTP or HTTPS:
An Ingress does not expose arbitrary ports or protocols. Exposing services other than HTTP and HTTPS to the internet typically uses a service of type Service.Type=NodePort or Service.Type=LoadBalancer.
So you can't use a custom port 8080
- it won't work.
Based on NGINX Ingress Controller docs:
By default the controller redirects HTTP clients to the HTTPS port 443 using a 308 Permanent Redirect response if TLS is enabled for that Ingress.
This can be disabled globally using ssl-redirect: "false" in the NGINX config map, or per-Ingress with the nginx.ingress.kubernetes.io/ssl-redirect: "false" annotation in the particular resource.
You have setup TLS, so Ingress Controller is redirecting you to HTTPS port.
Change your curl command to:
curl https://bazel-remote.dev.azr.myhost.com/status
It should work.