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
1
vote
1 answer
About docker's orchestra tool that can maximize utilization of server resources
In order to make full use of server resources,
I would like to consider the docker orchestra tool.
For example, there are three containers in the A server, but as long as there is room in the B server, it is only necessary to control such that one…

negabaro
- 3,127
- 7
- 21
- 33
1
vote
2 answers
nomad: Pull docker image from ECR with AWS Access and Secret keys
My problem
I have successfully deployed a nomad job with a few dozen Redis Docker containers on AWS, using the default Redis image from Dockerhub.
I've slightly altered the default config file created by nomad init to change the number of running…

Adam Matan
- 128,757
- 147
- 397
- 562
1
vote
1 answer
Vagrant connection failures on AWS Ubuntu 16
My problem
I'm fairly new to Vagrant, so apologies if this question is rudimentary.
I am trying to inspect Nomad, which in turn requires Vagrant to run. I have spawned a new Ubuntu 16 machine on EC2, installed virtualbox and Vagrant, and entered…

Adam Matan
- 128,757
- 147
- 397
- 562
1
vote
1 answer
How to get heap dump from java app running by HashiCorp Nomad?
I have java application that running by HashiCorp Nomad. At process status output I have nomad executor process running by root and java app process running by nobody.
When I try execute command:
jmap -dump:format=b,file=filename.bin
I…

Andrei Tsukanov
- 53
- 8
1
vote
3 answers
How to use Nomad with Nvidia Docker?
Is there any way to use nvidia-docker with Nomad?
The program for computing on Nvidia works locally but it doesn't work with nvidia-docker (it uses CPU instead of GPU).
What is the preferred way to do that?
Use nvidia-docker driver for Nomad
Use…

Kamil Lelonek
- 14,592
- 14
- 66
- 90
0
votes
0 answers
Hashicorp Nomad: Docker Plugin, Fluentd
plugin "docker" {
config {
extra_labels = ["job_name", "job_id", "task_group_name", "task_name", "namespace", "node_name", "node_id"]
logging {
type = "fluentd"
config {
fluentd-address = "localhost:24224"
…

Hans123
- 33
- 1
- 5
0
votes
0 answers
Nomad Hadoop installation error "Failed to download artifact : getter subprocess failed: exit status 1"
I'm using Nomad v1.6.1 and I tried to run Hadoop cluster on nomad by downloading a binary file using "exec" driver. However, there's still showing an error " Failed to download artifact : getter subprocess failed: exit status 1 ", the sbin file in…

Spanner
- 1
0
votes
0 answers
How to associate a nomad policy to workload by wildcard
With Hashicorp's Nomad, I've followed the steps outlined in the Workload associated ACL policies section of the Accessing variables from tasks tutorial and I have it working.
Here is an example of the policy file named…

HeatZync
- 160
- 1
- 10
0
votes
0 answers
nomad fails release CSI volume during "restart -reschedule" which would move allocations to new host
Context:
Have nomad job with configured tasks dependent on CSI (AWS EBS) volumes across three host machines.
The allocations start and the service works. The volumes work and data is stored there.
nomad stop|start|restart all work. These commands…

jsharpe
- 2,546
- 3
- 26
- 42
0
votes
0 answers
Nomad job problem. "tls verification failed x509 certificate signed by unknown authority"
I'm trying to start nomad job with docker driver, it should pull an image from my local docker registry. I've used tls certififcate issued by Nomad tls cert create, docker works fine with it. But when I try to run my job I get the following error…
0
votes
0 answers
Hashicorp nomad: whatis the shortest latency for short jobs ran very frequently?
In Hashicorp Nomad, one can run a batch job on a periodic plan following a cron-expression.
The granularity of that cron expression is 1 second.
I'm trying to find the limit of scheduling abilities in Nomad.
In particular, I'm trying to see if…

Jiehong
- 786
- 1
- 7
- 16
0
votes
0 answers
Access Nomad GUI after setting TLS
I set up TLS on Nomad. It seems to be working, but when I try to access https://: from a browser it returns an SSL_ERROR_BAD_CERT_ALERT error. Accessing with cURL also gives me a similar error.
So my question is, did I misconfigure my…

Mike Delta
- 726
- 2
- 16
- 32
0
votes
2 answers
Hashicorp's Nomad template explanation
With Hashicorp Nomad one can define a template through which a file can be created on a Docker containers storage - provided that `driver="docker". The template looks like the following:
template {
data = <

Niko
- 616
- 4
- 20
0
votes
0 answers
Nomad parameterized batch jobs autoscaling strategy to create instance only when client resources are fully utilized
I am new to Nomad, I am looking for a way to run N parameterized jobs in parallel on a single instance and when the resources of the instance are fully utilized I want to create a new instance.
Is there a way to do this in Nomad using the…

Zero104
- 1
0
votes
1 answer
Nomad connection error on AWS when accessing Nomad UI
I am following this tutorial to setup a Nomad parameterized batch job with autoscaling on AWS.
https://developer.hashicorp.com/nomad/tutorials/autoscaler/horizontal-cluster-scaling-on-demand-batch.
Everything worked fine and I was able to access the…

Zero104
- 1