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.
- 16 Sep, 2019 1 commit
-
-
Danielle Lancashire authored
This commit introduces support for configuring mount propagation when mounting volumes with the `volume_mount` stanza on Linux targets. Similar to Kubernetes, we expose 3 options for configuring mount propagation: - private, which is equivalent to `rprivate` on Linux, which does not allow the container to see any new nested mounts after the chroot was created. - host-to-task, which is equivalent to `rslave` on Linux, which allows new mounts that have been created _outside of the container_ to be visible inside the container after the chroot is created. - bidirectional, which is equivalent to `rshared` on Linux, which allows both the container to see new mounts created on the host, but importantly _allows the container to create mounts that are visible in other containers an don the host_ private and host-to-task are safe, but bidirectional mounts can be dangerous, as if the code inside a container creates a mount, and does not clean it up before tearing down the container, it can cause bad things to happen inside the kernel. To add a layer of safety here, we require that the user has ReadWrite permissions on the volume before allowing bidirectional mounts, as a defense in depth / validation case, although creating mounts should also require a priviliged execution environment inside the container.
-
- 12 Sep, 2019 5 commits
-
-
Kris Hicks authored
Fix upstreams docs link
-
Kris Hicks authored
-
Luiz Aoqui authored
Fix `volume_mount` attribute in the docs and formatting
-
Luiz Aoqui authored
-
Luiz Aoqui authored
-
- 11 Sep, 2019 6 commits
-
-
Tim Gross authored
-
Tim Gross authored
The default ulimit for open files on macOS is really small (256), which leads to "too many open files" errors during plugin launches if you're running unit tests in `drivers/docker`. Recommend setting `ulimit -n 1024`.
-
Mahmood Ali authored
manage dev deps in vagrant
-
Mahmood Ali authored
Allow dash in environment variable names
-
Mahmood Ali authored
ci: ignore nested pkgs in GOTEST_PKGS_EXCLUDE
-
Charlie Voiselle authored
-
- 10 Sep, 2019 2 commits
-
-
Tim Gross authored
- In script checks, ensure we're running `Exec` against the new running allocation and not the earlier stopped one. - In script checks, allow `Exec` calls to error due to lack of pty when we use the exec to kill the task. - In `utils.go/RegisterAllocs`, force query for allocations to wait on wait index returned by registration call.
-
Tim Gross authored
On macOS, `os.TempDir` returns a symlinked path under `/var` which is outside of the directories shared into the VM used for Docker, and that fails tests using Docker that need that mount. If we expand the symlink to get the real path in `/private`, we're in the shared folders and can safely mount them.
-
- 09 Sep, 2019 18 commits
-
-
Preetha Appan authored
-
Tim Gross authored
-
Mahmood Ali authored
website: document Quota field in ns payloads
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
fix 'nomad namespace apply' help message
-
Buck Doyle authored
The auto-generation of TOC wasn’t working because the “auto-linking header tags” described here doesn’t work if the file isn’t Markdown: https://github.com/hashicorp/middleman-hashicorp#auto-linking-header-tags
-
Mahmood Ali authored
Named arguments need to preceed positional arguments.
-
Mahmood Ali authored
-
Mahmood Ali authored
website: Link to 0.10.0-beta1 release
-
Mahmood Ali authored
-
Mahmood Ali authored
Start of docs for group level service and network stanza.
-
Mahmood Ali authored
docs: mention task field for checks
-
Mahmood Ali authored
Docs: Added alloc_exec and alloc_node_exec capabilities
-
Buck Doyle authored
-
Charlie Voiselle authored
These were added in https://github.com/hashicorp/nomad/commit/4f7bd68f5ca9f330a894bfb4375b87f786e1e7a3
-
Preetha Appan authored
-
Preetha Appan authored
-
- 06 Sep, 2019 8 commits
-
-
Michael Schurter authored
Tweak wording in changelog to match other entries.
-
Michael Schurter authored
docs: add more detail to connect stanzas
-
Mahmood Ali authored
-
Michael Schurter authored
-
Tim Gross authored
When multiple developers are working on e2e testing, it helps to be able to identify which infrastructure belongs to which Nomad SHA and which developer. This adds tags to the EC2 instances.
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-