Category : nomad

I am having trouble establishing communication between two docker containers via nomad. Containers are in the same task group but still unable to reach each other. Even when using NOMAD_ADDR_ environment variable. Can anyone help in this regard? I tried both host and bridge network mode. My nomad config is given below. Images are pulled ..

Read more

I am trying to run docker containers via nomad. This job spec aims to run a docker container with a java docker image. A volumne from a localhost path is supposed to be mounted on to the docker container. This volume will have some java files. The container should compile the java file as specified ..

Read more

I am trying the basic example.nomad job (generated from nomad job init) in Nomad. I have a server and clients setup properly (basic setup), and the Google container registry credential helper here /usr/bin/docker-credential-gcr. From the terminal, docker pull redis works fine. It finds and use docker-credential-gcr correctly, with is available in the path. I have ..

Read more

Should I run consul slaves alongside nomad slaves or inside them? The later might not make sense at all but I’m asking it just in case. I brought my own nomad cluster up with consul slaves running alongside nomad slaves (inside worker nodes), my deployable artifacts are docker containers (java spring applications). The issue with ..

Read more

with following job config. curl NOMAD_IP_http:NOMAD_PORT_http cannot access http-echo service. there is no listenig port on localhost for incomming request. why and how to access the http-echo service job "job" { datacenters = ["dc1"] group "group" { count = 2 network { port "http" {} } service { name = "http-echo" port = "http" tags ..

Read more