Questions tagged [nomad]

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.

Homepage

189 questions
1
vote
1 answer

Unable to get Consul Connect to work with Nomad

I'm trying to get Consul Connect side car envoy to work but the health checks for sidecar keeps failing. I'm using following versions of Consul and Nomad Consul : 1.7.3 Nomad : 0.11.1 CNI Plugins : 0.8.6 My setup looks like follows. 1 Consul Server…
kaysush
  • 4,797
  • 3
  • 27
  • 47
1
vote
1 answer

Quarkus on Hashicorp Nomad

Quarkus is described as a Kubernetes Native Java stack, which I think is unfair marketting hype given that there is no code specific in it for Kubernetes, to my knowledge (ignoring deployment scripts and Maven plugins, etc). Anyone tried launching…
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
1
vote
1 answer

Nomad : raw_exec install nginx

I want to run raw_exec to install an nginx , is this possible? or how can this be done by raw_exec only. since this code will not start/run. job "raw-exec" { datacenters = ["dc1"] type = "service" group "exec" { count = 1 …
rkevx21
  • 2,441
  • 5
  • 19
  • 40
1
vote
1 answer

Nomad Template : Folder is created instead of file

Why is it that when checking the container test.cnf is a directory instead of a file based on the templete stanza, can you check it please config { image = "percona/percona-xtradb-cluster:5.7" volumes =…
rkevx21
  • 2,441
  • 5
  • 19
  • 40
1
vote
1 answer

Securely distributing Docker credentials in Nomad

I am using Hashicorp Nomad to deploy a Docker image stored in a registry that requires credentials to access. According to the docs, I can use the auth object to specify the username and password, however the credentials must be in the manifest file…
wispi
  • 431
  • 3
  • 14
1
vote
2 answers

Where does Nomad put the downloaded S3 files?

I have the following Nomad job: job "aws_s3_copy_rev2" { datacenters = ["dc1"] type = "system" group "aws_s3_copy_rev2" { count = 1 task "aws_s3_copy_rev2" { driver = "raw_exec" artifact { source =…
LifeAndHope
  • 674
  • 2
  • 10
  • 27
1
vote
3 answers

Nomad constraint "${attr.vault.version} version >= 0.6.1" to access vault

I'm trying to deploy a Nomad job which has a template that fetches some secrets from a Vault. My problem is that it keeps on giving this Placement Failure because of a constraint which I can't understand why: Constraint ${attr.vault.version} version…
Johny Serpa
  • 155
  • 1
  • 2
  • 16
1
vote
1 answer

Passing a value to nomad from Consul kv

fetch the information from Consul and then submit this job to Nomad, injecting the Consul k/v value as an environment variable. like for example i have a value in consul k/v which is testData = "HELLO" on the other hand, in my job. i want the value…
rkevx21
  • 2,441
  • 5
  • 19
  • 40
1
vote
1 answer

Nomad : Health Check

need help I have this service { name = "nginx" tags = [ "nginx", "web", "urlprefix-/nginx" ] port = "http" check { type = "tcp" interval = "10s" timeout = "2s" } } how can i add a health for a specific URI if it returns a 200…
rkevx21
  • 2,441
  • 5
  • 19
  • 40
1
vote
1 answer

Nomad HTTP health check does not seem to occur

It seems the HTTP health check is not occurring, I've come to this conclusion due to the HTTP debug log not showing any regular periodic requests. Is there any additional configuration request for a health check to occur? job "example" { …
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
1
vote
1 answer

Consul Connect Upstream Interfaces in Docker Containers

is it possible to bind consul connect upstreams to another interface besides 127.0.0.1 loopback? Consul Connect - Nomad This article says you can run the connect proxy within the official Docker container but then there is an issue where the…
roguequery
  • 964
  • 13
  • 28
1
vote
0 answers

How to pull docker image from public registry with nomad job?

I'am using nomad on GCE and I cannot pull docker images from the public registry. I can do a pull form the command line with docker pull gerlacdt/helloapp:v0.1.0 But when trying to run a nomad job with a public registry image, I have this…
1
vote
1 answer

Does OpenEBS support Nomad as orchestration platform?

I'm curious whether OpenEBS supports Nomad as orchestration platform? I haven't found any information in github repo except these few jobspecs https://github.com/openebs/elves/tree/master/nomad
1
vote
0 answers

Nomad UI shows fewer client/server nodes

I'm running Nomad in AWS and I'm seeing fewer nodes in the Nomad UI than exist in the cluster. On AWS if there are 6 Nomad client nodes, the Nomad UI would only show 4 or 5. Similarly for Nomad servers. Any idea why this might be happening?
covfefe
  • 2,485
  • 8
  • 47
  • 77
1
vote
1 answer

What are the Advantages and Disadvantages of Two Level Scheduler (like in Apache Mesos) vs Single Level Scheduler (like in Nomad or Kubernetes)?

What are the Advantages and Disadvantages of Two Level Scheduler (like in Apache Mesos) vs Single Level Scheduler (like in Kubernetes) ? And how they would perform on small and large clusters for variety of work loads that normally take place in…
user1870400
  • 6,028
  • 13
  • 54
  • 115