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.
- 22 Jul, 2022 2 commits
-
-
Tim Gross authored
When we delete a namespace, we check to ensure that there are no non-terminal jobs or CSI volume, which also covers evals, allocs, etc. Secure variables are also namespaces, so extend this check to them as well.
-
Seth Hoenig authored
cleanup: use constants for on_update values
-
- 21 Jul, 2022 9 commits
-
-
Tim Gross authored
When we delete a namespace, we check to ensure that there are no non-terminal jobs, which effectively covers evals, allocs, etc. CSI volumes are also namespaced, so extend this check to cover CSI volumes.
-
Seth Hoenig authored
-
Michael Schurter authored
-
Seth Hoenig authored
client: add support for checks in nomad services
-
Seth Hoenig authored
-
Seth Hoenig authored
servicedisco: ensure service uniqueness in job validation
-
Seth Hoenig authored
client: use test timeouts for network fingerprinters in dev mode
-
Tim Gross authored
Workload identities grant implicit access to policies, and operators will not want to craft separate policies for each invocation of a periodic or dispatch job. Use the parent job's ID as the JobID claim.
-
Tim Gross authored
The search RPC used a placeholder policy for searching within the secure variables context. Now that we have ACL policies built for secure variables, we can use them for search. Requires a new loose policy for checking if a token has any secure variables access within a namespace, so that we can filter on specific paths in the iterator.
-
- 20 Jul, 2022 14 commits
-
-
Seth Hoenig authored
-
Tim Gross authored
Most of our objects use int64 timestamps derived from `UnixNano()` instead of `time.Time` objects. Switch the keyring metadata to use `UnixNano()` for consistency across the API.
-
Tim Gross authored
To discourage accidentally DoS'ing the cluster with secure variables data, we're providing a very low limit to the maximum size of a given secure variable. This currently matches the limit for dispatch payloads. In future versions, we may increase this limit or make it configurable, once we have better metrics from real-world operators.
-
Tim Gross authored
Document the secure variables keyring commands, document the aliased gossip keyring commands, and note that the old gossip keyring commands are deprecated.
-
Tim Gross authored
-
Will Jordan authored
Return 429 response on HTTP max connection limit. Instead of silently closing the connection, return a `429 Too Many Requests` HTTP response with a helpful error message to aid debugging when the connection limit is unintentionally reached. Set a 10-millisecond write timeout and rate limiter for connection-limit 429 response to prevent writing the HTTP response from consuming too many server resources. Add `nomad.agent.http.exceeded metric` counting the number of HTTP connections exceeding concurrency limit.
-
Seth Hoenig authored
-
Phil Renaud authored
-
Phil Renaud authored
* Reorder the select boxes on evals so namespaces are first * Wrap evals buttons in a button-bar for consistent styling and spacing
-
Seth Hoenig authored
-
Phil Renaud authored
* Support pathLinkedEntities starting with nomad/jobs/ instead of jobs/ * links from jobs/groups/tasks to variables now look for nomad/jobs/ instead of jobs/ * Tests updated to reflect nomad/jobs/ change * Acceptance test for disallowing nomad/foo/, and hint text updates * Defensive logic in case path not yet set * Allow exactly nomad/jobs as a variable path
-
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 3 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
-