The ingress controller exposes the HAProxy Stats page and a Prometheus endpoint on port 1024. When deploying the ingress controller with a NodePort service, this port will be mapped to a random, high-numbered port, which you can see by listing the service's details.

kubectl get svc -A

NAMESPACE            NAME              TYPE       CLUSTER-IP      EXTERNAL-IP   PORT(S)                                     AGE
haproxy-controller   haproxy-ingress   NodePort    <none>        80:30279/TCP,443:30775/TCP,1024:31912/TCP   84s

In this example, port 1024 is mapped to NodePort 31912.

  • View the HAProxy Stats page at the / URL

  • View Prometheus counters at the /metrics URL

Next up