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.
- 26 Nov, 2021 2 commits
-
-
James Rasell authored
-
James Rasell authored
When GetPolicy is called within the scaling handler, the index table was being used to populate the reply index irregardless of whether the policy was found or not. This change fixes that behaviour so that the policy modify index is used when the policy lookup is successful.
-
- 25 Nov, 2021 1 commit
-
-
James Rasell authored
docs: fix typo in the comment
-
- 24 Nov, 2021 18 commits
-
-
pavel authored
comment in the source code for Logger: thhe -> the
-
Luiz Aoqui authored
-
Tim Gross authored
The `TestHTTPServer_Limits_Error` test never starts the agent so it had an incomplete configuration, which caused panics in the test. Fix the configuration. The PR #11555 had a branch name like `f-ui-*` which caused CI to skip the unit tests over the HTTP handler setup, so this wasn't caught in PR review.
-
Luiz Aoqui authored
-
Luiz Aoqui authored
Merge release 1.2.2 branch
-
Luiz Aoqui authored
-
Luiz Aoqui authored
-
Luiz Aoqui authored
-
Luiz Aoqui authored
-
Jai authored
feat:
add consul and vault links to global header -
Nomad Release Bot authored
-
Nomad Release Bot authored
-
Nomad Release bot authored
-
Luiz Aoqui authored
-
Tim Gross authored
In the system scheduler, if a subset of clients are filtered by class, we hit a code path where the `AllocMetric` has been copied, but the `Copy` method does not instantiate the various maps. This leads to an assignment to a nil map. This changeset ensures that the maps are non-nil before continuing. The `Copy` method relies on functions in the `helper` package that all return nil slices or maps when passed zero-length inputs. This changeset to fix the panic bug intentionally defers updating those functions because it'll have potential impact on memory usage. See https://github.com/hashicorp/nomad/issues/11564 for more details.
-
Tim Gross authored
In the system scheduler, if a subset of clients are filtered by class, we hit a code path where the `AllocMetric` has been copied, but the `Copy` method does not instantiate the various maps. This leads to an assignment to a nil map. This changeset ensures that the maps are non-nil before continuing. The `Copy` method relies on functions in the `helper` package that all return nil slices or maps when passed zero-length inputs. This changeset to fix the panic bug intentionally defers updating those functions because it'll have potential impact on memory usage. See https://github.com/hashicorp/nomad/issues/11564 for more details.
-
Tim Gross authored
Add `ui` block to agent configuration to enable/disable the web UI and provide the web UI with links to Vault/Consul.
-
Tim Gross authored
As of VirtualBox 6.1.28, host-only networks are restricted to `192.168.56.0/21` by default, so spinning up the Vagrant boxes with secondary networks fail with an error `E_ACCESSDENIED`. Update the IP configuration of the Vagrant boxes to fall within the allowed range so that we don't need to ask developers from the community to make VirtualBox configuration updates outside of their normal Vagrant use.
-
- 23 Nov, 2021 3 commits
-
-
Luiz Aoqui authored
-
James Rasell authored
docs: clarify vault.token only required on servers
-
James Rasell authored
This change modifies the Nomad job register and deregister RPCs to accept an updated option set which includes eval priority. This param is optional and override the use of the job priority to set the eval priority. In order to ensure all evaluations as a result of the request use the same eval priority, the priority is shared to the allocReconciler and deploymentWatcher. This creates a new distinction between eval priority and job priority. The Nomad agent HTTP API has been modified to allow setting the eval priority on job update and delete. To keep consistency with the current v1 API, job update accepts this as a payload param; job delete accepts this as a query param. Any user supplied value is validated within the agent HTTP handler removing the need to pass invalid requests to the server. The register and deregister opts functions now all for setting the eval priority on requests. The chan...
-
- 22 Nov, 2021 5 commits
-
-
Jai Bhagat authored
-
Luiz Aoqui authored
Merge release 1.2.1 branch
-
Luiz Aoqui authored
-
Luiz Aoqui authored
Version 1.2.1
-
Luiz Aoqui authored
-
- 19 Nov, 2021 9 commits
-
-
Nomad Release Bot authored
-
Nomad Release bot authored
-
Luiz Aoqui authored
-
Tim Gross authored
The QEMU driver allows arbitrary command line options, but many of these options give access to host resources that operators may not want to expose such as devices. Add an optional allowlist to the plugin configuration so that operators can limit the resources for QEMU.
-
James Rasell authored
docs: add global query param to API job deregister endpoint.
-
James Rasell authored
terraform: update installed version used to 1.0.11.
-
James Rasell authored
-
James Rasell authored
-
Michael Schurter authored
While it *is* clarified toward the bottom of this page, I've seen people go to great lengths to configure tokens for clients anyway, so I think it's worth noting on the parameter's docs as well.
-
- 17 Nov, 2021 2 commits
-
-
Luiz Aoqui authored
-
dependabot[bot] authored
* build(deps): bump github.com/hashicorp/cronexpr in /api Bumps [github.com/hashicorp/cronexpr](https://github.com/hashicorp/cronexpr) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/hashicorp/cronexpr/releases) - [Commits](https://github.com/hashicorp/cronexpr/compare/v1.1.0...v1.1.1 ) --- updated-dependencies: - dependency-name: github.com/hashicorp/cronexpr dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> * go mod tidy Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Tim Gross <tim@0x74696d.com>
-