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.
- 02 Oct, 2020 3 commits
-
-
Seth Hoenig authored
docs: document docker signal fix, add tests
-
Seth Hoenig authored
This PR adds a version specific upgrade note about the docker stop signal behavior. Also adds test for the signal logic in docker driver. Closes #8932 which was fixed in #8933
-
Tim Gross authored
The `-var-file` flag for loading variables into Terraform overlays the default variables file if present. This means that variables that are set in the default variables file will take precedence if the overlay file does not have them set. Set `nomad_acls` and `nomad_enteprise` to `false` in the dev cluster.
-
- 01 Oct, 2020 9 commits
-
-
Fredrik Hoem Grelland authored
-
Mahmood Ali authored
Tests: fix some tests for Ubuntu 18.04
-
José Maia authored
`nomad volume detach volume-id 00000000-0000-0000-0000-000000000000` produces an API call containing the UUID as part of the query string. This is the only way the API accepts the request correctly - if you pass it in the payload you get `detach requires node ID`
-
Mahmood Ali authored
On host with systemd-resolved, we copy /run/systemd/resolve/resolv.conf actually.
-
Mahmood Ali authored
In systemd-resolved hosts with no DNS customizations, the docker driver DNS setting should be compared to /run/systemd/resolve/resolv.conf while exec/java drivers should be compared to /etc/resolv.conf. When system-resolved is enabled, /etc/resolv.conf is a stub that points to 127.0.0.53. Docker avoids this stub because this address isn't accessible from the container. The exec/java drivers that don't create network isolations use the stub though in the default configuration.
-
Mahmood Ali authored
On the failover path, copy the permission bits (a.k.a. file mode), specially the execution bit.
-
Mahmood Ali authored
My latest Vagrant box contains an empty cgroup name that isn't used for isolation: ``` $ cat /proc/self/cgroup | grep :: 0::/user.slice/user-1000.slice/session-17.scope ```
-
Tim Gross authored
-
Landan Cheruka authored
-
- 30 Sep, 2020 7 commits
-
-
Michael Schurter authored
jobspec: lower min cpu resources from 10->1
-
Michael Schurter authored
Since CPU resources are usually a soft limit it is desirable to allow setting it as low as possible to allow tasks to run only in "idle" time. Setting it to 0 is still not allowed to avoid potential unintentional side effects with allowing a zero value. While there may not be any side effects this commit attempts to minimize risk by avoiding the issue. This does *not* change the defaults.
-
Mahmood Ali authored
tests: failover to copying when symlinking fails
-
Mahmood Ali authored
Symlinking busybox may fail when the test code and the test temporary directory live on different volumes/partitions; so we should copy instead. This situation arises in the Vagrant setup, where the code repository live on special file sharing volume. Somewhat unrelated, remove `f.Sync()` invocation from a test copyFile helper function. Sync is useful only for crash recovery, and isn't necessary in our test setup. The sync invocation is a significant overhead as it requires the OS to flush any cached writes to disk.
-
Tim Gross authored
Until we have LCOW support in the E2E environment (which requires a Windows 2019 test target), we need to constrain E2E tests to the appropriate kernel
-
Tim Gross authored
The E2E framework wraps testify's `require` so that by default we can stop tests on errors, but the cleanup functions should use `assert` so that we continue to try to cleanup the test environment even if there's a failure.
-
Lars Lehtonen authored
-
- 29 Sep, 2020 16 commits
-
-
Luiz Aoqui authored
Add scaling policy type
-
Luiz Aoqui authored
-
Dave May authored
Raftutil cleanup, plus helper function to find raft.db
-
davemay99 authored
-
Tim Gross authored
-
Charlie Voiselle authored
* Fix links to ACL guides * Managing Nomad guide links; links in jsx pages * job updates guide URLS * node-drain guide URLS * outage recovery guide links * fix guide links - sentinel * fix guide links - namespaces * fix guide links - quotas * fix guide links - autopilot * more guide links. * more guide links - continued. * Updating redirects for learn * Getting Started * Load Balancing Guides * update redirects for ui guide * Consolidate spark redirects to point to GH repo * operating job update part 1 * finish operating job links; operations guides links. * finish guide redirects * coalesce EOL redirects for spark guides. * one last link * Checked links and found a few more stray links * Found more .htmls * Fixup links for new HC websites * Post-merge fixups * linkcheck caught missing ids
-
Mahmood Ali authored
Update Vagrant consul/vault deps
-
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.
-
Mahmood Ali authored
Update Vagrant setup to use the consul/vault versions used in CI.
-
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
-
davemay99 authored
-
davemay99 authored
-
davemay99 authored
-
- 28 Sep, 2020 5 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`.
-