Hello,
Recently I came across Nomad and looked like the solution I would like to have. Now I ran into a issue running my server/ui. When wanting to create a new job via the UI, I cannot. Those calls keep pending:
I have tried several things in my config, and environment vars. But whatever I do, this will not be solved. Could someone help me out here?
nomad.hcl
# Controller Node @ /etc/nomad.d/nomad.hcl
bind_addr = "0.0.0.0"
datacenter = "eu"
data_dir = "/opt/nomad/data"
name = "controller"
server {
enabled = true
bootstrap_expect = 1
}
client {
enabled = true
}
advertise {
http = "0.0.0.0:4646"
rpc = "10.0.0.2:4647"
serf = "10.0.0.2:4648"
}
system service
[Unit]
Description=Nomad Agent
Documentation=https://www.nomadproject.io/
Wants=network-online.target
After=network-online.target
ConditionFileNotEmpty=/etc/nomad.d/nomad.hcl
[Service]
Type=notify
ExecStart=/usr/bin/nomad agent -config=/etc/nomad.d/nomad.hcl
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target