How consul check health nomad job service?

i used waypoint with gitlabci to deploy service in nomad cluster.

everything is ok during build, deployment and release but after nomad registered service in consul . Consul can check service health .

network {
mode = “bridge”
port “http” {}

port = “http”

connect {
sidecar_service {}

check {
name = “HTTP Check service”
type = “http”
port = “http”
path = “/health”
interval = “10s”
timeout = “2s”

Since the job you are deploying is using Consul service mesh, I believe that the expose stanza might be the ticket to providing access to your /health endpoint to Consul.

Hopefully this helps out!
Charlie V