Questions about Hashicorp Nomad which is a simple and flexible scheduler and orchestrator to deploy and manage containers and non-containerized applications across on-premises and clouds at scale.
Questions tagged [nomad]
189 questions
4
votes
1 answer
Nomad cluster per environment
What is the standard/convention for Nomad orchestration in the context of environments/deploy-stage, do people generally have a Nomad cluster per environment, or do all environments share a cluster? Other than the cost implications, what are the…

gerard
- 43
- 5
4
votes
2 answers
Remove older allocations details of a job in Nomad
When i check the status of a nomad job. Along with the new allocation i can see all the older allocations details(with stop & complete). The list is pretty huge.
Is there any way to remove/delete the older allocations details and show only the…

Mohan Karthik Sanagapalli
- 788
- 8
- 31
3
votes
1 answer
HashiCorp Nomad: Using and creating Samba/CIFS Docker volumes. Is this possible?
I have a question about Hashicorp Nomad in connection with the Docker driver.
I would like to create a Docker volume and then use it in a Nomad job, i.e. a container. I would find it best if I don't have to create the Docker volumes on the host…

Lsander
- 53
- 1
- 4
3
votes
1 answer
How to run cassandra docker container from nomad?
I want to run a cassandra container from a nomad job. It seems to start, but after a few seconds it dies (it seems to be killed by nomad itself).
If I run the container from the command line, with:
docker run --name some-cassandra -p 9042:9042 -d…

Bruno Unna
- 1,394
- 1
- 11
- 18
3
votes
0 answers
Microservices orchestration in dedicated hw devices
It will be good if someone share his experience on microservices orchestration on hardware devices and better toolset that exists for it.
Logically there are well defined approach in Cloud and kubernetes can be utilized for these purposes however…

user1459144
- 4,439
- 5
- 28
- 35
3
votes
1 answer
Nomad periodic job starts immediately
I have a nomad periodic job that has this in the job config:
periodic {
cron = "* */2 * * *"
prohibit_overlap = true
}
However, I find that when nomad finishes running the job (the job takes less than two hours), it more or less immediately…

Croad Langshan
- 2,646
- 3
- 24
- 37
2
votes
0 answers
Redirect Standard Output Log to a File in K8s Container
I am using nomad-autoscaler image to run a pod that emits the logs on standard out, I want to send these logs into a file (within the pod) to enable a liveness check based on logfile content.
Used below dockerfile -
FROM…

Atul Singh
- 59
- 1
- 9
2
votes
1 answer
How to check from where job arrived in HashiCorp Nomad?
I wonder is there any way to find out how Nomad receives any specific job. As I found in logs there is information about job submit time only. But IP from which this job arrived or submit method (API, GUI) is not specified. Is there any way to find…

Execut1on
- 21
- 2
2
votes
0 answers
How can a Nomad job template use a default string for a node's missing metadata key?
I'd like to use a template in a Nomad job that has a string value that can be optionally overridden on a node basis, something like this:
job "foldingathome" {
...
meta {
foldingathome_power = coalesce(meta.foldingathome_power, "medium")
}
…

hufman
- 163
- 1
- 2
- 6
2
votes
2 answers
Mount relative folder within a docker task within nomad
I'm new to nomad and I try to move from docker-compose files in which I'm used to mount folders to a relative location of the docker-compose.yml file.
I've trouble understanding how I can reproduce this behavior using nomad.
If I were to do it…

nlko
- 151
- 1
- 6
2
votes
1 answer
How to get Nomad precompiled binary using python requests client?
I'm trying to get the latest version of Nomad from official Github hashicorp repo.
(written the explicit url for the version assets for the sake of the question)
import requests
response =…

Roy Levy
- 640
- 1
- 11
- 24
2
votes
2 answers
Nomad High Availability with Traefik
I've decided to give Nomad a try, and I'm setting up a small environment for side projects in my company.
Although the documentation on Nomad/Consul is nice and detailed, they don't reach the simple task of exposing a small web service to the…

gcstr
- 1,466
- 1
- 21
- 45
2
votes
1 answer
How to setup local development environment for Nomad+Consul Service Mesh
As per Hashicorp documentation on Nomad+Consul, consul service mesh cannot be run on MacOS/Windows, since it does not support bridge network.
https://www.nomadproject.io/docs/integrations/consul-connect
What is the recommended way to setup a local…

Jawahar
- 4,775
- 1
- 24
- 47
2
votes
0 answers
Problem with nomad-sdk DateTime deserialization (v 0.11.3.0)
Found a problem with a datetime de-serialization (nomad-sdk version 0.11.3.0).
Server(agent) version: Nomad v1.0.1 (c9c68aa55a7275f22d2338f2df53e67ebfcb9238)
When I try to get an allocation list from the nomad agent (via API) I get the following…

Ivan Prostran
- 53
- 1
- 5
2
votes
1 answer
How to remove/run a pending job in Nomad?
There are some pending jobs in "$ nomad status" output. Is there a way to run a pending job?
$ nomad status
ID Type Priority Status Submit…

takoneko
- 85
- 1
- 4