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.
- 20 Jul, 2022 5 commits
-
-
Seth Hoenig authored
-
Seth Hoenig authored
-
Seth Hoenig authored
cleanup: example refactoring out map[string]struct{} using set.Set
-
Seth Hoenig authored
-
Seth Hoenig authored
This PR is a little demo of using github.com/hashicorp/go-set to replace the use of map[T]struct{} as a make-shift set.
-
- 19 Jul, 2022 6 commits
-
-
Tim Gross authored
Tasks are automatically granted access to variables on a path that matches their workload identity, with a well-known prefix. Change the prefix to `nomad/jobs` to allow for future prefixes like `nomad/volumes` or `nomad/plugins`. Reserve the prefix by emitting errors during validation.
-
dependabot[bot] authored
Bumps [@percy/cli](https://github.com/percy/cli/tree/HEAD/packages/cli) from 1.1.0 to 1.6.1. - [Release notes](https://github.com/percy/cli/releases) - [Commits](https://github.com/percy/cli/commits/v1.6.1/packages/cli ) --- updated-dependencies: - dependency-name: "@percy/cli" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Luiz Aoqui authored
-
Phil Renaud authored
-
Niklas Hambüchen authored
Makes the issues from #9845 and #12792 less surprising to the user.
-
Andy Assareh authored
-
- 18 Jul, 2022 6 commits
-
-
Phil Renaud authored
* A smattering of snapshot tests for Secure Variables * Percy imports and linting
-
Tim Gross authored
When applying a raft log to expire ACL tokens, we need to use a timestamp provided by the leader so that the result is deterministic across servers. Use leader's timestamp from RPC call
-
Seth Hoenig authored
docs: move checks into own page
-
Seth Hoenig authored
This PR creates a top-level 'check' page for job-specification docs. The content for checks is about half the content of the service page, and is about to increase in size when we add docs about Nomad service checks. Seemed like a good idea to just split the checks section out into its own thing (e.g. check_restart is already a topic). Doing the move first lets us backport this change without adding Nomad service check stuff yet. Mostly just a lift-and-shift but with some tweaked examples to de-emphasize the use of script checks.
-
Tim Gross authored
The "Secure Nomad with Access Control" guide provides a tutorial for bootstrapping Nomad ACLs, writing policies, and creating tokens. Add a reference guide just for the ACL policy specification.
-
Seth Hoenig authored
metrics: classless blocked evals get metrics
-
- 15 Jul, 2022 7 commits
-
-
Luiz Aoqui authored
-
Michael Schurter authored
* docs: tighten up parameterized job metrics docs * docs: improve alloc status descriptions Remove `nomad.client.allocations.start` as it doesn't exist.
-
Kyle Penfound authored
-
Seth Hoenig authored
This PR fixes a bug where blocked evaluations with no class set would not have metrics exported at the dc:class scope. Fixes #13759
-
Tim Gross authored
The test for simulating a key rotation across leader elections was flaky because we weren't waiting for a leader election and was checking the server configs rather than raft for which server was currently the leader. Fixing the flake revealed a bug in the test that we weren't ensuring the new leader was running its own replication, so it wouldn't pick up the key material from the previous follower.
-
Tim Gross authored
When secure variables are updated, we were adding the update to the existing quota tracking without first checking whether it was an update to an existing variable. In that case we need to add/subtract only the difference between the new and existing quota usage.
-
Seth Hoenig authored
e2e: add nsd simple load balancing test
-
- 14 Jul, 2022 6 commits
-
-
Seth Hoenig authored
-
Michael Schurter authored
Related to #13740 - blocked_evals.total_blocked is the number of evals blocked for *any* reason - blocked_evals.total_quota_limit is the number of evals blocked by quota limits, but critically: their resources are *not* counted in the cpu/memory
-
Tim Gross authored
The split between OSS/ENT in ACL checks for the Search RPC has a lot of repeated code that results in merge conflicts. Move most of the logic into the shared code so that we can call out to thin functions for ENT checks.
-
Luiz Aoqui authored
Post 1.3.2 release
-
Seth Hoenig authored
docs: remove consul 1.12.0 warning
-
Tim Gross authored
-
- 13 Jul, 2022 7 commits
-
-
Luiz Aoqui authored
-
hc-github-team-nomad-core authored
-
hc-github-team-nomad-core authored
-
Tim Gross authored
-
dependabot[bot] authored
* chore(deps): bump github.com/mitchellh/mapstructure in /api Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) from 1.4.3 to 1.5.0. - [Release notes](https://github.com/mitchellh/mapstructure/releases) - [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 ) --- updated-dependencies: - dependency-name: github.com/mitchellh/mapstructure dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * Also bump mapstructure in main go.mod Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Michael Schurter <mschurter@hashicorp.com>
-
Michael Schurter authored
-
Phil Renaud authored
* Vars from job prototype * singular linked variable from job * Links from task groups and tasks to their variables incl periodic and parameterized * Lintfix * Make sure they can list em before we list em * Tests from job/group/task to var
-
- 12 Jul, 2022 3 commits
-
-
dependabot[bot] authored
* build(deps): bump github.com/gorilla/websocket in /api Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.0. - [Release notes](https://github.com/gorilla/websocket/releases) - [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0 ) --- updated-dependencies: - dependency-name: github.com/gorilla/websocket dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * deps: also bump websocket dep in main binary Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
Michael Schurter <mschurter@hashicorp.com>
-
dependabot[bot] authored
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.7.1+incompatible to 2.8.1+incompatible. - [Release notes](https://github.com/docker/distribution/releases) - [Commits](https://github.com/docker/distribution/compare/v2.7.1...v2.8.1 ) --- updated-dependencies: - dependency-name: github.com/docker/distribution dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Michael Schurter authored
See `message:` in rule for details. Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-