Search code examples
consulnomad

Can't find Nomad clients in the Nomad UI


Can't find Nomad client, but I can see all servers and I also can find the clients in Consul.

Nomad config

data_dir = "/opt/nomad/data"

server {
  enabled          = true
  bootstrap_expect = 3
  retry_join = ["provider=aws tag_key=Function tag_value=consul_client"]

}

client {
  enabled = true
}

Clients in Consul UI:

enter image description here


Servers in Nomad UI:

enter image description here

Clients in Nomad UI:

enter image description here

So why do I see only one Client in the last screenshot?


Solution

  • figured it out, I should make separate config files for server and client instead of combining them together.