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.
- 09 May, 2019 4 commits
-
-
Mahmood Ali authored
-
Mahmood Ali authored
Add a client streaming RPC endpoint for processing nomad exec tasks, by invoking the relevant task handler for execution.
-
Mahmood Ali authored
-
Mahmood Ali authored
Also add a helper that converts the adapts the high level interface to the low-level interface of nomad exec interfaces.
-
- 30 Apr, 2019 10 commits
-
-
Mahmood Ali authored
In this commit, we add two driver interfaces for supporting `nomad exec` invocation: * A high level `ExecTaskStreamingDriver`, that operates on io reader/writers. Drivers should prefer using this interface * A low level `ExecTaskStreamingRawDriver` that operates on the raw stream of input structs; useful when a driver delegates handling to driver backend (e.g. across RPC/grpc). The interfaces are optional for a driver, as `nomad exec` support is opt-in. Existing drivers continue to compile without exec support, until their maintainer add such support. Furthermore, we create protobuf structures to represent exec stream entities: `ExecTaskStreamingRequest` and `ExecTaskStreamingResponse`. We aim to reuse the protobuf generated code as much as possible, without translation to avoid conversion overhead. `ExecTaskStream` abstract fetching and sending stream entities. It's influenced by the grpc bi-directional stream interface, to avoid needing any adapter. I considered using channels, but the asynchronisity and concurrency makes buffer reuse too complicated, which would put more pressure on GC and slows exec operation.
-
Mahmood Ali authored
This adds `alloc-exec` capability to allow operator to execute command into a running task. Furthermore, it adds `alloc-node-exec` capability, required when the alloc task is raw_exec or a driver with no FSIsolation.
-
Mahmood Ali authored
Extract command parsing and execution mocking into a separate struct. Also, allow mocking of different fs_isolation for testing.
-
Mahmood Ali authored
Test helper that allows registration of jobs when ACL is activated.
-
Mahmood Ali authored
This helper returns the token as well as the ACL policy, to be used in a later commit for logging the token info associated with nomad exec invocation.
-
Charlie Voiselle authored
Fixed typo
-
Mahmood Ali authored
-
Danielle authored
Update CHANGELOG and version.go to reflect 0.9.1/0.9.2 split
-
Danielle Lancashire authored
-
Justin Weissig authored
Fixed typo: "dots wil be"/"dots will be".
-
- 29 Apr, 2019 5 commits
-
-
Yishan Lin authored
yishan/revised readme
-
Yishan Lin authored
-
Preetha Appan authored
-
Danielle authored
Fixed Typo
-
Justin Weissig authored
Fixed typo: scheduilng/scheduling.
-
- 28 Apr, 2019 3 commits
-
-
Mahmood Ali authored
divest /api from rest of nomad internal packages
-
Mahmood Ali authored
The API package needs to be independent from rest of nomad packages, to avoid leaking internal packages and dependencies (e.g. raft, ugorji, etc)
-
Mahmood Ali authored
-
- 26 Apr, 2019 13 commits
-
-
Lang Martin authored
-
Yishan Lin authored
-
Yishan Lin authored
-
Yishan Lin authored
-
Yishan Lin authored
-
Yishan Lin authored
-
Yishan Lin authored
-
Lang Martin authored
client fingerprinter doesn't overwrite manual configuration
-
Mahmood Ali authored
drivers/docker: Support volumes field in Windows
-
Danielle authored
Docs for `nomad alloc signal`
-
Danielle authored
allocs: Add nomad alloc signal command
-
Danielle Lancashire authored
-
Mahmood Ali authored
logmon: recover from shutting down call locally
-
- 25 Apr, 2019 5 commits
-
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-