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.
- 14 Jul, 2021 11 commits
-
-
Mahmood Ali authored
scheduler: datacenter updates should be destructive
-
Mahmood Ali authored
Job `test-e2e` uses an unprivileged user to compile and run tests. Ensure that the user has ssh and git properly configured to checkout dependencies.
-
Seth Hoenig authored
build: no longer use vendor directory
-
Seth Hoenig authored
core: do not internalize constraint strings
-
Seth Hoenig authored
-
Seth Hoenig authored
This PR removes the vendor directory from the Nomad repository. Contributers will no longer need to deal with our `make sync` step when working on Nomad, which was suprising when making changes to the api. It also causes huge diffs in PRs that nobody looks at.
-
Seth Hoenig authored
-
Seth Hoenig authored
-
Seth Hoenig authored
-
Seth Hoenig authored
This PR causes Nomad to no longer memoize the String value of a Constraint. The private memoized variable may or may not be initialized at any given time, which means a reflect.DeepEqual comparison between two jobs (e.g. during Plan) may return incorrect results. Fixes #10836
-
James Rasell authored
deps: update consul-template to v0.25.2.
-
- 13 Jul, 2021 4 commits
-
-
Luiz Aoqui authored
-
James Rasell authored
-
James Rasell authored
-
Georges-Etienne Legendre authored
* Proposed fix for #10561 Signed-off-by:
Georges-Etienne Legendre <legege@legege.com> * Add acceptance tests for reverse proxy use-case Signed-off-by:
Georges-Etienne Legendre <legege@legege.com> * Use reads instead of computed/get Signed-off-by:
Georges-Etienne Legendre <legege@legege.com> * Move back the line closer to the task Signed-off-by:
Georges-Etienne Legendre <legege@legege.com> * skip a11y-audit-called lint rule on reverse proxy tests Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
- 12 Jul, 2021 4 commits
-
-
Noel Quiles authored
-
Seth Hoenig authored
consul/connect: fix bug causing high cpu with multiple connect sidecars in group
-
Seth Hoenig authored
-
Seth Hoenig authored
Co-authored-by:
Michael Schurter <mschurter@hashicorp.com>
-
- 11 Jul, 2021 2 commits
-
-
Jai authored
Closes Nomad UI showing 'vUnknown' #10672
-
Jai Bhagat authored
The name property had to be added back to the agent schema in the Agent Factory because the /agent/monitor endpoint in the config finds agents by their names and since member is not a proper entity in our Mirage Config we can't just findBy name of the member. So although we're following the correct schema we're set-up to rely on this.
-
- 09 Jul, 2021 5 commits
-
-
Seth Hoenig authored
This PR fixes a bug where the underlying Envoy process of a Connect gateway would consume a full core of CPU if there is more than one sidecar or gateway in a group. The utilization was being caused by Consul injecting an envoy_ready_listener on 127.0.0.1:8443, of which only one of the Envoys would be able to bind to. The others would spin in a hot loop trying to bind the listener. As a workaround, we now specify -address during the Envoy bootstrap config step, which is how Consul maps this ready listener. Because there is already the envoy_admin_listener, and we need to continue supporting running gateways in host networking mode, and in those case we want to use the same port value coming from the service.port field, we now bind the admin listener to the 127.0.0.2 loop-back interface, and the ready listener takes 127.0.0.1. This shouldn't make a difference in the 99.999% use case where envoy is being run in its official d...
-
Zachary Shilton authored
-
Mike Nomitch authored
-
Mahmood Ali authored
Pick up 15d39f0d but for RegisterFromJobspec: > This PR changes the e2e helper thingy to set -detach option > when registering a job with the CLI instead of the API. This is > necessary for jobs which never become healthy, as the deployment > never finishes for failing jobs and the command never returns, > causing the test to timeout after 10 minutes. This case occurs in TestVaultSecrets
-
Shishir authored
- Auth support via driver config - pid_mode - shm_size Signed-off-by:
Shishir Mahajan <smahajan@roblox.com>
-
- 08 Jul, 2021 14 commits
-
-
Tim Gross authored
Adds missing interpolation step to the `meta` blocks when building the task environment. Also fixes incorrect parameter order in the test assertion and adds diagnostics to the test.
-
Seth Hoenig authored
consul/connect: remove sidecar proxy before removing parent service
-
Seth Hoenig authored
This PR will have Nomad de-register a sidecar proxy service before attempting to de-register the parent service. Otherwise, Consul will emit a warning and an error. Fixes #10845
-
Seth Hoenig authored
consul/connect: Avoid assumption of parent service when filtering connect proxies
-
Seth Hoenig authored
-
Seth Hoenig authored
client: fix logline in group shutdown hook
-
Seth Hoenig authored
Fixes #10844
-
Seth Hoenig authored
This PR uses regex-based matching for sidecar proxy services and checks when syncing with Consul. Previously we would check if the parent of the sidecar was still being tracked in Nomad. This is a false invariant - one which we must not depend when we make #10845 work. Fixes #10843
-
Mahmood Ali authored
Enforce idempotency of dispatched jobs using token on dispatch request
-
Tim Gross authored
The default agent configuration values were not set, which meant they were not being set in the client configuration and this results in fingerprints failing unless the values were set explicitly.
-
Tim Gross authored
When a task group with `service` block(s) is validated, we validate that there are no duplicates, but this validation doesn't have access to the task environment because it hasn't been created yet. Services and checks with interpolation can be flagged incorrectly as conflicting. Name conflicts in services are not actually an error in Consul and users have reported wanting to use the same service name for task groups differentiated by tags.
-
Tim Gross authored
The `command/TestJobStatusCommand_Run` test assumes that it gets back running allocations and will panic the test runner rather than failing.
-
Jai Bhagat authored
-
Alex Munda authored
-