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 Oct, 2022 3 commits
-
-
Kevin Wang authored
-
Elijah Voigt authored
This is probably undocumented for a reason, but the `enabled` toggle in the `periodic` stanza is very useful so I figured I try adding it to the docs. The feature has been secretly avaliable since #9142 and was called out in that PR as being a dubious addition, only added to avoid regressions. The use case for disabling a periodic job in this way is to prevent it from running without modifying the schedule. Ideally Nomad would make it more clear that this was the case, and allow you to force a run of the job, but even with those rough edges I think users would benefit from knowing about this toggle.
-
Tim Gross authored
This changeset adds new architecture internals documents to the contributing guide. These are intentionally here and not on the public-facing website because the material is not required for operators and includes a lot of diagrams that we can cheaply maintain with mermaid syntax but would involve art assets to have up on the main site that would become quickly out of date as code changes happen and be extremely expensive to maintain. However, these should be suitable to use as points of conversation with expert end users. Included: * A description of Evaluation triggers and expected counts, with examples. * A description of Evaluation states and implicit states. This is taken from an internal document in our team wiki. * A description of how writing the State Store works. This is taken from a diagram I put together a few months ago for internal education purposes. * A description of Evaluation lifecycle, from registration to running Allocations. This is mostly lifted from @lgfa29's amazing mega-diagram, but broken into digestible chunks and without multi-region deployments, which I'd like to cover in a future doc. Also includes adding Deployments to our public-facing glossary. Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com> Co-authored-by:
Michael Schurter <mschurter@hashicorp.com> Co-authored-by:
Seth Hoenig <shoenig@duck.com>
-
- 30 Sep, 2022 4 commits
-
-
Jai authored
-
dependabot[bot] authored
Bumps [@hashicorp/platform-cli](https://github.com/hashicorp/web-platform-packages/tree/HEAD/packages/cli) from 2.1.0 to 2.3.0. - [Release notes](https://github.com/hashicorp/web-platform-packages/releases) - [Changelog](https://github.com/hashicorp/web-platform-packages/blob/main/packages/cli/CHANGELOG.md) - [Commits](https://github.com/hashicorp/web-platform-packages/commits/@hashicorp/platform-cli@2.3.0/packages/cli ) --- updated-dependencies: - dependency-name: "@hashicorp/platform-cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Luiz Aoqui authored
Previously, the splay timeout was only applied if a template re-render caused a restart or a signal action. The `change_mode = "script"` was running after the `if restart || len(signals) != 0` check, so it was invoked at all times. This change refactors the logic so it's easier to notice that new `change_mode` options should start only after `splay` is applied.
-
- 29 Sep, 2022 3 commits
-
-
Phil Renaud authored
[ui] Bugfix: reinstate the "this variable will be accessible by $job/$group/$task" notification (#14741) * When we isolated the variable form path to within its component for isolation reasons, we lost the model-level checks for related entites at type-time * Be a little more functionally pure * Use Ember.set to appease mirage
-
Phil Renaud authored
-
Seth Hoenig authored
* client: protect user lookups with global lock This PR updates Nomad client to always do user lookups while holding a global process lock. This is to prevent concurrency unsafe implementations of NSS, but still enabling NSS lookups of users (i.e. cannot not use osusergo). * cl: add cl
-
- 28 Sep, 2022 6 commits
-
-
Michael Schurter authored
CI always runs this as root, so it worked there and always scared me when I ran it locally.
-
Derek Strickland authored
multiregion: Added a section for multiregion parameterized job dispatch
-
Derek Strickland authored
-
Derek Strickland authored
-
Derek Strickland authored
Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
Derek Strickland authored
Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
- 27 Sep, 2022 21 commits
-
-
Derek Strickland authored
Remove changelog entry for test update PR
-
Derek Strickland authored
-
Derek Strickland authored
Fix and remove changelog files
-
Derek Strickland authored
Post 1.4.0 rc.1 release
-
Derek Strickland authored
-
Derek Strickland authored
-
Derek Strickland authored
-
Derek Strickland authored
-
hc-github-team-nomad-core authored
-
hc-github-team-nomad-core authored
-
Derek Strickland authored
-
Derek Strickland authored
-
Phil Renaud authored
* 3 error states captured * Assertion expecters * Attempt to stabilize datacenters
-
Derek Strickland authored
Fix changelog entry type
-
Derek Strickland authored
-
Michael Schurter authored
Need to wait for Stop evals to be processed before you can expect subsequent RPCs to see the alloc's DesiredStatus=stop.
-
Jim Razmus II authored
* jobspec: allow artifact headers in HCLv1 Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
Seth Hoenig authored
* cleanup: fixup linter warnings in schedular/feasible.go * core: numeric operands comparisons in constraints This PR changes constraint comparisons to be numeric rather than lexical if both operands are integers or floats. Inspiration #4856 Closes #4729 Closes #14719 * fix: always parse as int64
-
Phil Renaud authored
-
Phil Renaud authored
* Empty and filled task exec screenshots for test * Attempting to stabilize datacenter prop on servers
-
Tim Gross authored
A test flake revealed a bug in the CSI unpublish workflow, where an unpublish that comes from a client that's successfully done the node-unpublish step will not have the claim checkpointed if the controller-unpublish step fails. This will result in a delay in releasing the volume claim until the next GC. This changeset also ensures we're using a new snapshot after each write to raft, and fixes two timing issues in test where either the volume watcher can unpublish before the unpublish RPC is sent or we don't wait long enough in resource-restricted environements like GHA.
-
- 26 Sep, 2022 3 commits
-
-
Michael Schurter authored
* docs: write a lot of words about heartbeats Alternative to #14670 * Apply suggestions from code review Co-authored-by:
Tim Gross <tgross@hashicorp.com> * use descriptive title for link * rework example of high failover ttl Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Seth Hoenig authored
This PR translates two of our most flakey unit tests into e2e tests where they are fit much more naturally.
-
Michael Schurter authored
* fingerprint: add node attr for reserverable cores Add an attribute for the number of reservable CPU cores as they may differ from the existing `cpu.numcores` due to client configuration or OS support. Hopefully clarifies some confusion in #14676 * add changelog * num_reservable_cores -> reservablecores
-