This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 29 Sep, 2020 5 commits
-
-
Mahmood Ali authored
drivers/exec: fix DNS resolution in systemd hosts
-
Seth Hoenig authored
drivers/docker/driver.go: change default signal for docker driver to SIGTERM?
-
Mahmood Ali authored
Host with systemd-resolved have `/etc/resolv.conf` is a symlink to `/run/systemd/resolve/stub-resolv.conf`. By bind-mounting /etc/resolv.conf only, the exec container DNS resolution fail very badly. This change fixes DNS resolution by binding /run/systemd/resolve as well. Note that this assumes that the systemd resolver (default to 127.0.0.53) is accessible within the container. This is the case here because exec containers share the same network namespace by default. Jobs with custom network dns configurations are not affected, and Nomad will continue to use the job dns settings rather than host one.
-
Tim Gross authored
Eliminate sources of randomness in the progress deadline test and clarify the purpose of the test to check for progress deadline updates.
-
Seth Hoenig authored
consul: fix validation of task in group-level script-checks
-
- 28 Sep, 2020 6 commits
-
-
Tim Gross authored
Required to support tests for namespaces and other ENT features.
-
Seth Hoenig authored
When defining a script-check in a group-level service, Nomad needs to know which task is associated with the check so that it can use the correct task driver to execute the check. This PR fixes two bugs: 1) validate service.task or service.check.task is configured 2) make service.check.task inherit service.task if it is itself unset Fixes #8952
-
Tim Gross authored
-
Tim Gross authored
-
Tim Gross authored
Exercises host volume and Docker volume functionality for the `exec` and `docker` task driver, particularly around mounting locations within the container and how this can be used with `template`.
-
Tim Gross authored
Adds a `nomad_acls` flag to our Terraform stack that bootstraps Nomad ACLs via a `local-exec` provider. There's no way to set the `NOMAD_TOKEN` in the Nomad TF provider if we're bootstrapping in the same Terraform stack, so instead of using `resource.nomad_acl_token`, we also bootstrap a wide-open anonymous policy. The resulting management token is exported as an environment var with `$(terraform output environment)` and tests that want stricter ACLs will be able to write them using that token. This should also provide a basis to do similar work with Consul ACLs in the future.
-
- 24 Sep, 2020 2 commits
-
-
Nick Ethier authored
-
Tim Gross authored
-
- 23 Sep, 2020 6 commits
-
-
Seth Hoenig authored
drivers/docker: detect arch for default docker plugin infra_image
-
Seth Hoenig authored
The 'docker.config.infra_image' would default to an amd64 container. It is possible to reference the correct image for a platform using the `runtime.GOARCH` variable, eliminating the need to explicitly set the `infra_image` on non-amd64 platforms. Also upgrade to Google's pause container version 3.1 from 3.0, which includes some enhancements around process management. Fixes #8926
-
Tim Gross authored
The areas of the code this test exercised were merged in with the node drain tests.
-
Tim Gross authored
Newer EC2 instances are both cheaper and have generally better performance. The dnsmasq configuration had a hard-coded interface name, so in order to accomodate instances with more recent networking that result in so-called predictable interface names, the dnsmasq configuration needs to be replaced at runtime with userdata to select the default interface.
-
Tim Gross authored
-
Tim Gross authored
We currently have two jobs commented out in ENT because we don't have the test target configured there. So having the filter attached to one of those jobs means changes to filters always create a merge conflict.
-
- 22 Sep, 2020 7 commits
-
-
Ryan Oaks authored
docs: Update docs platform components
-
Tim Gross authored
-
Pete Woods authored
- We previously added these to the client host metrics, but it's useful to have them on all client metrics. - e.g. so you can exclude draining nodes from charts showing your fleet size.
-
Neil Mock authored
-
Michael Schurter authored
core: improve job deregister error logging
-
Ryan Oaks authored
-
Michael Lange authored
UI: Launched jobs quality of life improvements
-
- 21 Sep, 2020 5 commits
-
-
Michael Schurter authored
-
Michael Schurter authored
Noticed this error in some production logs, and they were far from helpful. Changes: 1. Include job ID in logs 2. Wrap errors and log once instead of double log lines 3. Test fsm error handling behavior
-
Kris Hicks authored
-
Tim Gross authored
Exercise the `nomad node drain` features, driving them via the new CLI helpers.
-
Tim Gross authored
The conditional around some of the rescheduling tests was backwards, where we were waiting for allocations to be rescheduled but testing for a count of 0. The test was passing but flaky because if the check happened quickly enough before the scheduler rescheduled the allocations, it would pass.
-
- 19 Sep, 2020 6 commits
-
-
Michael Lange authored
-
Michael Lange authored
-
Jeffrey 'jf' Lim authored
-
Michael Lange authored
-
Michael Lange authored
-
Michael Lange authored
-
- 18 Sep, 2020 3 commits
-
-
Tim Gross authored
-
Mahmood Ali authored
feat: upgrade consul 1.7, and go-discover
-
Tim Gross authored
-