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.
- 29 Jun, 2022 1 commit
-
-
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 2 commits
-
-
Seth Hoenig authored
-
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 5 commits
-
-
Nick Wales authored
Updates TLS documentation
-
Arthur Leclerc authored
-
Nick Wales authored
-
James Hu authored
-
James Rasell authored
-
- 15 Jun, 2022 1 commit
-
-
Joseph Martin authored
* Return evalID if `-detach` flag is passed to job revert
-
- 14 Jun, 2022 6 commits
-
-
Charlie Voiselle authored
-
Tim Gross authored
The changelog entry for #13340 indicated it was an improvement. But on discussion, it was determined that this was a workaround for a regression. Update the changelog to make this clear.
-
Luiz Aoqui authored
In addition to jobs, there are other objects in Nomad that have a specific format and can be provided to commands and API endpoints. This commit creates a new menu section to hold the specification for volumes and update the command pages to point to the new centralized definition. Redirecting the previous entries is not possible with `redirect.js` because they are done server-side and URL fragments are not accessible to detect a match. So we provide hidden anchors with a link to the new page to guide users towards the new documentation. Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Luiz Aoqui authored
These flags were not being used because GNUmakefile overwrites them with another value. We also don't want to set `-s -w` since they remove information that is important for production debug. In other projects this variable is used to override the default `-dev` prerelease that is set even if `VersionPrerelease` is empty, but in Nomad this check is never actually done because this conditional in `version/version.go` is always false: ```go func GetVersion() *VersionInfo { // ... rel := VersionPrerelease // ... if GitDescribe == "" && rel == "" && VersionPrerelease != "" { rel = "dev" } // ... } ``` This seems like some leftover from a previous release process, but I decided the leave the code as is.
-
Luiz Aoqui authored
* website: fix redirects with fragments Vercel redirects don't support fragments in relative destination paths, so an absolute URL must be specified instead. * website: fix Vercel redirect documentation link
-
Tim Gross authored
-