Skip to main content

Questions tagged [nomad]

Nomad is a product created by HashiCorp that is able to manage a cluster of nodes and software.

Filter by
Sorted by
Tagged with
1 vote
0 answers
44 views

How to setup multi-host cni communication between containers on hashicorp nomad clusters

So i recently create a nomad cluster with consul as kv store and dns with three nodes to deploy jobs/containers. But i'm unable to use anything that allow communication between containers on diffrent ...
kunal ghosh's user avatar
0 votes
0 answers
180 views

How to allow nomad docker containers access to internal network while allowing for zero downtime deployments?

I'm using Hashicorp Nomad to orchestrate Docker containers, and I'm facing a networking challenge. My current setup uses host networking (network_mode = "host") in the Docker+Nomad job ...
Chris Stryczynski's user avatar
0 votes
0 answers
149 views

HashiCorp Nomad OIDC authentication with nested ListClaimMappings

I've setup a HashiCorp Nomad server and I want to add an OIDC authentication method. I've made all preparations on the OIDC provider, added config to Nomad server but I cannot seem to get in ...
Mihai Iorga's user avatar
1 vote
0 answers
180 views

Trouble to understand how networking works on nomad

Can someone explain why I can't access my website running in a docker container thru nomad or what I'm doing wrong ? I'm beginner in system and networking. I would like to make the container http ...
C Taque's user avatar
  • 123
0 votes
1 answer
572 views

Rabbitmq cluster on Nomad

I want to create a rabbitmq cluster in a nomad cluster. Right now I can run rabbitmq docker containers, but I can't create a cluster based on consul discovery. After containters starts i got this ...
sflyer's user avatar
  • 1
2 votes
0 answers
444 views

GlusterFS volume stalls / blocks after quick access for PHP session files from PHP Docker container

2021-10-05 UPDATED QUESTION AND TEXT AFTER MORE ANALYSIS, STRIPPED DOWN TO MINIMAL CASE Short description A Nomad / Consul cluster is running, with Traefik (with minimal configuration) as a system ...
Paul's user avatar
  • 51
0 votes
1 answer
293 views

Nomad secrets folder empty in Docker container

I'm facing an issue with Nomad's NOMAD_SECRETS_DIR folder allocation for a Docker container. I've got the following template stanza in my job description: template { destination = "/local/pki/...
Spack's user avatar
  • 1,624
1 vote
1 answer
596 views

Nomad nodes remove each other services from Consul

I got two nodes Nomad cluster along with a Consul instance so that the jobs can register services to connect to. However, the services keep getting synced and deregistered. Here is what I have from ...
Spack's user avatar
  • 1,624
2 votes
1 answer
515 views

Load balancing prefer own subnet / availability zone first

I have 3 front end boxes that are each in their own availability zone. They all 3 run a reverse proxy server (in this case traefik). How can I keep the traffic within the AZ to avoid the inter AZ ...
Botto's user avatar
  • 241
1 vote
2 answers
167 views

Interpolate values as integers in HLC files

I am writing the template for a parametrized HashiCorp Nomad job. One of its parameters is priority, which is supposed to be an integer between 0 and 100. Like other tools, Nomad supports variable ...
Alexander George's user avatar
0 votes
0 answers
541 views

How should I load balance large port range for high availablity?

I have a service which publishes individual services on different ports via consul and fabio. I have a pair of these fabio internal load balancers. They both have the complete set of valid open ...
Chris Schafer's user avatar
3 votes
0 answers
1k views

How to get Docker to retry image pull?

Our Nomad agents sometimes fails jobs because they cannot pull images from ECR. /var/log/docker will contain messages like: Not continuing with pull after error: error pulling image configuration:...
Bittrance's user avatar
  • 3,200
4 votes
1 answer
610 views

Hashicorp's Nomad as a HTCondor alternative?

I couldn't find any info on this short of spinning up a Nomad cluster and experimenting so maybe someone here may be able to help. Saying you want to run 100 iterations of a batch java job, each with ...
Frankie's user avatar
  • 449
1 vote
0 answers
1k views

How to configure dynamic routing of gRPC requests with envoy, nomad and consul

We use nomad to deploy our applications - which provide gRPC endpoints - as tasks. The tasks are then registered to Consul, using nomad's service stanza. The routing for our applications is achieved ...
DaDaDom's user avatar
  • 532
2 votes
0 answers
713 views

Promoting Nomad task meta tags via consul to Prometheus

We are using Nomad to schedule tasks which are then registered in Consul from where they are picked up in Prometheus scraping. service.hcl: job "myjob" { group "mygroup" { count = "1" task ...
DaDaDom's user avatar
  • 532
1 vote
1 answer
1k views

Why does the Nomad agent shutdown due to a connection refused when it is started?

Running sudo nomad agent -dev results in getsockopt: connection refused: * Get http://127.0.0.1:8500/v1/agent/checks: dial tcp 127.0.0.1:8500: getsockopt: connection refused 2017/02/19 20:31:36....
030's user avatar
  • 6,045
3 votes
1 answer
2k views

nomad shows job as dead

I am new to nomad. We are using nomad in production along with docker, consul, vault, ansible. When I run a nomad job from my local machine, Job registers successfully but show status as dead. ...
Shailesh Sutar's user avatar