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.
- 10 May, 2019 2 commits
-
-
Mahmood Ali authored
Implements streamign exec handling in both executors (i.e. universal and libcontainer). For creation of TTY, some incidental complexity leaked in. The universal executor uses github.com/kr/pty for creation of TTYs. On the other hand, libcontainer expects a console socket and for libcontainer to create the underlying console object on process start. The caller can then use `libcontainer.utils.RecvFd()` to get tty master end. I chose github.com/kr/pty for managing TTYs here. I tried `github.com/containerd/console` package (which is already imported), but the package did not work as expected on macOS.
-
Mahmood Ali authored
Prepare executor to handle streaming exec API calls that reuse drivers protobuf structs.
-
- 09 May, 2019 20 commits
-
-
Mahmood Ali authored
nomad exec part 1: plumbing and docker driver
-
Mahmood Ali authored
-
Mahmood Ali authored
Adds nomad exec support in our API, by hitting the websocket endpoint. We introduce API structs that correspond to the drivers streaming exec structs. For creating the websocket connection, we reuse the transport setting from api http client.
-
Mahmood Ali authored
-
Mahmood Ali authored
Add consolidated testing package to serve as conformance tests for all drivers.
-
Mahmood Ali authored
-
Mahmood Ali authored
This adds a websocket endpoint for handling `nomad exec`. The endpoint is a websocket interface, as we require a bi-directional streaming (to handle both input and output), which is not very appropriate for plain HTTP 1.0. Using websocket makes implementing the web ui a bit simpler. I considered using golang http hijack capability to treat http request as a plain connection, but the web interface would be too complicated potentially. Furthermore, the API endpoint operates against the raw core nomad exec streaming datastructures, defined in protobuf, with json serializer. Our APIs use json interfaces in general, and protobuf generates json friendly golang structs. Reusing the structs here simplify interface and reduce conversion overhead.
-
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.
-
Yishan Lin authored
Revised NomadProject Structure
-
Yishan Lin authored
-
Mahmood Ali authored
remove Index field from EmitNodeEventsResponse
-
Yishan Lin authored
Removed Terraform mention in integrations without existing guide.
-
Danielle Lancashire authored
-
Chris Baker authored
copied consts used by jobspec parsing from structs into api package, to avoid referencing structs package in jobspec (#5663)
-
Danielle Lancashire authored
-
Danielle authored
Consul Catalog Integration Fixes
-
Danielle Lancashire authored
-
- 08 May, 2019 10 commits
-
-
Mahmood Ali authored
docs: Change querystring -> query string
-
Yishan Lin authored
- Revised "What is Nomad" copy - Added "Key Features" section with links to task drivers & device plugins with lift-and-shift from README - Added "Who Uses Nomad" section with users, talks, blog posts - Removed Hadoop YARN, Docker Swarm, HTCondor from comparisons - Revamped Guides section - Inserted "Installing Nomad", "Upgrading", "Integrations" as persistent in Guides navbar - Split Installing Nomad into two paths for users (one for Sandbox with "Quickstart", one for Production) - Surfaced "Upgrading" and "Integrations" section from documentation - Changed "Job Lifecycle" section into "Deploying & Managing Applications" - Reworked "Operations" into "Operating Nomad" - Reworked "Security" into "Securing Nomad" - Segmented Namespaces, Resource Quotas, Sentinel into "Governance & Policy" subsection - Reworked "Spark integration" into its own "Analytical Workloads" section
-
Charlie Voiselle authored
-
Preetha Appan authored
-
Preetha authored
Remove unnecessary locking and serverlist syncing in heartbeats
-
Charlie Voiselle authored
* Typo fixes * it's -> its * plugable -> pluggable
-
Preetha Appan authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
`Index` is already included as part of `WriteMeta` embedding. This is a backward compatible change: Clients never read the field; and Server refernces to `EmitNodeEventsResponse.Index` would be using the value in `WriteMeta`, which is consistent with other response structs.
-
- 07 May, 2019 8 commits
-
-
Preetha Appan authored
-
Chris Baker authored
-
Chris Baker authored
* client: was not using up-to-date client state in determining which alloc count towards allocated resources * Update client/client.go Co-Authored-By:
cgbaker <cgbaker@hashicorp.com>
-
Preetha authored
-
Michael Schurter authored
docs: fix default restart values
-
Lang Martin authored
-
Danielle authored
Fixed Typo
-
Justin Weissig authored
Fixed typo: schedular/scheduler.
-