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.
- 08 Jul, 2022 1 commit
-
-
Michele Degges authored
-
- 07 Jul, 2022 7 commits
-
-
Michele Degges authored
-
Michele Degges authored
-
Luiz Aoqui authored
Use the same output format when listing multiple evals in the `eval list` command and when `eval status <prefix>` matches more than one eval. Include the eval namespace in all output formats and always include the job ID in `eval status` since, even `node-update` evals are related to a job. Add Node ID to the evals table output to help differentiate `node-update` evals. Co-authored-by:
James Rasell <jrasell@hashicorp.com>
-
Ted Behling authored
Co-authored-by:
James Rasell <jrasell@hashicorp.com>
-
James Rasell authored
-
Seth Hoenig authored
docs: add docs for simple load balancing nomad services
-
Seth Hoenig authored
-
- 06 Jul, 2022 11 commits
-
-
Seth Hoenig authored
This PR adds a section to template docs for simple load balancing with nomad servicse.
-
Michael Schurter authored
Whenever a node joins the cluster, either for the first time or after being `down`, we emit a evaluation for every system job to ensure all applicable system jobs are running on the node. This patch adds an optimization to skip creating evaluations for system jobs not in the current node's DC. While the scheduler performs the same feasability check, skipping the creation of the evaluation altogether saves disk, network, and memory.
-
Luiz Aoqui authored
api: apply new ACL check for wildcard namespace In #13606 the ACL check was refactored to better support the all namespaces wildcard (`*`). This commit applies the changes to the jobs and alloc list endpoints.
-
Luiz Aoqui authored
Improve how the all namespaces wildcard (`*`) is handled when checking ACL permissions. When using the wildcard namespace the `AllowNsOp` would return false since it looks for a namespace called `*` to match. This commit changes this behavior to return `true` when the queried namespace is `*` and the token allows the operation in _any_ namespace. Actual permission must be checked per object. The helper function `AllowNsOpFunc` returns a function that can be used to make this verification.
-
Seth Hoenig authored
build: bump circleci macos version
-
Tim Gross authored
The `operator debug` command doesn't output the leader anywhere in the output, which adds extra burden to offline debugging (away from an ongoing incident where you can simply check manually). Query the `/v1/status/leader` API but degrade gracefully.
-
Charlie Voiselle authored
-
James Rasell authored
* core: add eval delete RPC and core functionality. * agent: add eval delete HTTP endpoint. * api: add eval delete API functionality. * cli: add eval delete command. * docs: add eval delete website documentation.
-
Leela Gangavarapu authored
ref: kadalu/kadalu#817 Signed-off-by:
Leela Venkaiah G <leelavg@thoughtexpo.com>
-
James Rasell authored
* core: allow pause/un-pause of eval broker on region leader. * agent: add ability to pause eval broker via scheduler config. * cli: add operator scheduler commands to interact with config. * api: add ability to pause eval broker via scheduler config * e2e: add operator scheduler test for eval broker pause. * docs: include new opertor scheduler CLI and pause eval API info.
-
Michelle Noorali authored
-
- 05 Jul, 2022 5 commits
-
-
Yann Coleu authored
-
Steven Collins authored
-
Phil Renaud authored
* Job editing and planning handles namespace as part of ID instead of queryParam * Changelog added * Tests updated to reflect new namespace redirects
-
Seth Hoenig authored
Got an email from Circle about removing the version we are currently using; bump to the latest stable version
-
Seth Hoenig authored
boltdd: add iterate and prefix deletion helpers
-
- 03 Jul, 2022 1 commit
-
-
Seth Hoenig authored
This PR adds 2 helper functions to the helpers/bbolt package - Iterate: iterate every key in a bucket. Automatically decodes the msg pack value into the provided value argument. - DeletePrefix: deletes every key in a bucket starting with a given prefix. Manages the wrapper's hash values accordingly. Uses a cursor & sync to operate efficiently.
-
- 01 Jul, 2022 4 commits
-
-
Seth Hoenig authored
build: update to go1.18.3
-
Seth Hoenig authored
Merge pull request #13531 from hashicorp/dependabot/go_modules/api/github.com/stretchr/testify-1.8.0 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 in /api
-
Seth Hoenig authored
Release Notes: https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg Contains 4 security fixes - the 2 related to Windows might be relevant.
-
dependabot[bot] authored
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 ) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com>
-
- 30 Jun, 2022 3 commits
-
-
Seth Hoenig authored
api: enable selecting subset of services using rendezvous hashing
-
Seth Hoenig authored
Co-authored-by:
James Rasell <jrasell@users.noreply.github.com>
-
Michael Schurter authored
It appears way back when this was first implemented in 9a917281, it was renamed from NodeEvict (with a correct comment) to NodeUpdate. The comment was changed from referring to only evictions to referring to "all allocs" in the first sentence and "stop or evict" in the second. This confuses every time I see it because I read the name (NodeUpdate) and first sentence ("all the allocs") and assume this represents *all* allocations... which isn't true. I'm going to assume I'm the only one who doesn't read the 2nd sentence and that's why this suboptimal wording has lasted 7 years, but can we change it for my sake?
-
- 29 Jun, 2022 2 commits
-
-
Conner authored
- Use latest nomad 1.3.1 and consul 1.12.2 - Use latest Ubuntu LTS (easier to get podman plugin working, 18.04 does not have podman in main repositories). - Add increased memory for libvirt to match other VM providers
-
Derek Strickland authored
* docs: update task leader to explain shutdown sequence.
-
- 28 Jun, 2022 4 commits
-
-
James Rasell authored
-
Andrew authored
-
James Rasell authored
-
James Rasell authored
When calculating a services namespace for registration, the code assumed the first task within the task array would include a service block. This is incorrect as it is possible only a latter task within the array contains a service definition. This change fixes the logic, so we correctly search for a service definition before identifying the namespace.
-
- 27 Jun, 2022 2 commits
-
-
Seth Hoenig authored
Fix typo: orthogonal.
-
Shishir Mahajan authored
Signed-off-by:
Shishir Mahajan <smahajan@roblox.com>
-