In k8s yaml files we connect two pods using selectors and labels in the same way what is present in nomad ?
Hi @sufiaalmas! Check out the service
stanza https://www.nomadproject.io/docs/job-specification/service/ That lets Nomad advertise the IP/port for each alloc into Consul, and then you can use the template
stanza to configure your downstream applications with those addresses.
1 Like