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.
- 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 6 commits
-
-
Seth Hoenig authored
Fix typo: orthogonal.
-
Shishir Mahajan authored
Signed-off-by:
Shishir Mahajan <smahajan@roblox.com>
-
Seth Hoenig authored
api: use testing.T.Setenv to set env vars in tests
-
Seth Hoenig authored
deps: remove replace statement for go-textseg
-
Seth Hoenig authored
tests: update testify dependency
-
Seth Hoenig authored
feat: docker/docker/pkg/term has been deprecated in favor of moby/term
-
- 26 Jun, 2022 2 commits
-
-
Yoan Blanc authored
Signed-off-by:
Yoan Blanc <yoan@dosimple.ch>
-
Yoan Blanc authored
See https://github.com/moby/moby/pull/40825 Signed-off-by:
Yoan Blanc <yoan@dosimple.ch>
-
- 25 Jun, 2022 3 commits
-
-
Seth Hoenig authored
-
Seth Hoenig authored
This PR adds the 'choose' query parameter to the '/v1/service/<service>' endpoint. The value of 'choose' is in the form '<number>|<key>', number is the number of desired services and key is a value unique but consistent to the requester (e.g. allocID). Folks aren't really expected to use this API directly, but rather through consul-template which will soon be getting a new helper function making use of this query parameter. Example, curl 'localhost:4646/v1/service/redis?choose=2|abc123' Note: consul-templte v0.29.1 includes the necessary nomadServices functionality.
-
Seth Hoenig authored
-
- 24 Jun, 2022 3 commits
-
-
Phil Renaud authored
* Shift meta off job.definition and decodedPayload alias to passed arg * Changelog
-
Seth Hoenig authored
-
Seth Hoenig authored
core: remove support for raft protocol version 2
-
- 23 Jun, 2022 2 commits
-
-
Tim Gross authored
The plan applier has to get a snapshot with a minimum index for the plan it's working on in order to ensure consistency. Under heavy raft loads, we can exceed the timeout. When this happens, we hit a bug where the plan applier blocks waiting on the `indexCh` forever, and all schedulers will block in `Plan.Submit`. Closing the `indexCh` when the `asyncPlanWait` is done with it will prevent the deadlock without impacting correctness of the previous snapshot index. This changeset includes the a PoC failing test that works by injecting a large timeout into the state store. We need to turn this into a test we can run normally without breaking the state store before we can merge this PR. Increase `snapshotMinIndex` timeout to 10s. This timeout creates backpressure where any concurrent `Plan.Submit` RPCs will block waiting for results. This sheds load across all servers and gives raft some CPU to catch up, because schedulers won't dequeue more work while waiting. Increase it to 10s based on observations of large production clusters.
-
Seth Hoenig authored
This PR checks server config for raft_protocol, which must now be set to 3 or unset (0). When unset, version 3 is used as the default.
-
- 22 Jun, 2022 2 commits
-
-
Michael Schurter authored
-
Derek Strickland authored
* csi_hook: valid if any driver supports csi volumes
-
- 21 Jun, 2022 3 commits
-
-
Jason Paul Deland authored
Replace deprecated `template` block with `templatefile` function
-
Elijah Voigt authored
Lob.com has been ramping up our use of Nomad for ~6 months. Now that we've started blogging about it we'd love to be on the _official_ list.
-
Derek Strickland authored
Fix detach handling for: - `deployment fail` - `deployment promote` - `deployment resume` - `deployment unblock` - `job promote`
-
- 20 Jun, 2022 2 commits
-
-
Jeffrey Clark authored
CNI changed how to bring up the interface in v0.2.0. Support was moved to a new loopback plugin. https://github.com/containernetworking/cni/pull/121 Fixes #10014
-
Ted Behling authored
-
- 17 Jun, 2022 1 commit
-
-
Derek Strickland authored
Improve Autoscaler overview documentation.
-
- 16 Jun, 2022 2 commits
-
-
Nick Wales authored
Updates TLS documentation
-
Arthur Leclerc authored
-