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.
- 01 Oct, 2020 2 commits
-
-
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 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 5 commits
-
-
davemay99 authored
-
davemay99 authored
-
davemay99 authored
-
Nick Ethier authored
-
Tim Gross authored
-
- 23 Sep, 2020 4 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.
-