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.
- 05 Sep, 2019 3 commits
-
-
Tim Gross authored
-
Tim Gross authored
Splitting the immutable and mutable components of the scriptCheck led to a bug where the environment interpolation wasn't being incorporated into the check's ID, which caused the UpdateTTL to update for a check ID that Consul didn't have (because our Consul client creates the ID from the structs.ServiceCheck each time we update). Task group services don't have access to a task environment at creation, so their checks get registered before the check can be interpolated. Use the original check ID so they can be updated.
-
Jasmine Dahilig authored
-
- 04 Sep, 2019 24 commits
-
-
Buck Doyle authored
-
Jasmine Dahilig authored
-
Buck Doyle authored
-
Michael Schurter authored
e2e: test demo job for connect
-
Nick Ethier authored
* ar: refactor network bridge config to use go-cni lib * ar: use eth as the iface prefix for bridged network namespaces * vendor: update containerd/go-cni package * ar: update network hook to use TODO contexts when calling configurator * unnecessary conversion
-
Michael Schurter authored
-
Michael Schurter authored
-
Mahmood Ali authored
NOMAD_PORT_<label> regression
-
Danielle authored
Fix memory fingerprinting on 32bit
-
Danielle authored
Co-Authored-By:
Michael Schurter <mschurter@hashicorp.com>
-
Mahmood Ali authored
-
Jasmine Dahilig authored
-
Danielle Lancashire authored
-
Buck Doyle authored
-
Mahmood Ali authored
Update default raft protocol to version 3
-
Mahmood Ali authored
-
Nick Ethier authored
-
Mahmood Ali authored
Also add a utility function for waiting for stable leadership
-
Mahmood Ali authored
Fix tests whose messages seem timing dependent.
-
Mahmood Ali authored
Tests typically call join cluster directly rather than rely on consul discovery. Worse, consul discovery seems to cause additional leadership transitions when a server is shutdown in tests than tests expect.
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
docs: task driver resource isolation & security
-
Mahmood Ali authored
-
- 03 Sep, 2019 8 commits
-
-
Jamie Finnigan authored
-
Tim Gross authored
In Nomad prior to Consul Connect, all Consul checks work the same except for Script checks. Because the Task being checked is running in its own container namespaces, the check is executed by Nomad in the Task's context. If the Script check passes, Nomad uses the TTL check feature of Consul to update the check status. This means in order to run a Script check, we need to know what Task to execute it in. To support Consul Connect, we need Group Services, and these need to be registered in Consul along with their checks. We could push the Service down into the Task, but this doesn't work if someone wants to associate a service with a task's ports, but do script checks in another task in the allocation. Because Nomad is handling the Script check and not Consul anyways, this moves the script check handling into the task runner so that the task runner can own the script check's configuration and lifecycle. This will allow us to pass the group service check configuration down into a task without associating the service itself with the task. When tasks are checked for script checks, we walk back through their task group to see if there are script checks associated with the task. If so, we'll spin off script check tasklets for them. The group-level service and any restart behaviors it needs are entirely encapsulated within the group service hook.
-
Mahmood Ali authored
Wait until leadership stabalizes and all non-voters get promoted before killing leader
-
Michael Schurter authored
driver/docker: convert host bind path to os native
-
Pete Woods authored
When summing up the capability of your Nomad fleet for scaling purposes, it's important to exclude draining nodes, as they won't accept new jobs.
-
Michael Schurter authored
* connect: add unix socket to proxy grpc for envoy Fixes #6124 Implement a L4 proxy from a unix socket inside a network namespace to Consul's gRPC endpoint on the host. This allows Envoy to connect to Consul's xDS configuration API. * connect: pointer receiver on structs with mutexes * connect: warn on all proxy errors
-
Danielle authored
docker: Fix driver spec
-
Danielle Lancashire authored
hclspec.NewLiteral does not quote its values, which caused `3m` to be parsed as a nonsensical literal which broke the plugin loader during initialization. By quoting the value here, it starts correctly.
-
- 02 Sep, 2019 4 commits
-
-
Jasmine Dahilig authored
-
Danielle authored
Add default value "3m" to image_delay, making it consistent with docs.
-
Danielle authored
Remove unused canary param from MakeTaskServiceID
-
Zhiguang Wang authored
-
- 01 Sep, 2019 1 commit
-
-
Danielle authored
docs: Update /v1/node/{node-id} example response
-