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.
- 16 Dec, 2021 3 commits
-
-
Noel Quiles authored
-
Tim Gross authored
The `nomad operator raft logs` command uses a raft helper that reads in the logs from raft and serializes them to JSON. The previous implementation returned the slice of all logs and then serializes the entire object. Update the helper to stream the log entries and then serialize them as newline-delimited JSON.
-
Tim Gross authored
The `nomad operator raft` and `nomad operator snapshot state` subcommands for inspecting on-disk raft state were hidden and undocumented. Expose and document these so that advanced operators have support for these tools.
-
- 15 Dec, 2021 3 commits
-
-
Tim Gross authored
Use the new filtering and pagination capabilities of the `Eval.List` RPC to provide filtering and pagination at the command line. Also includes note that `nomad eval status -json` is deprecated and will be replaced with a single evaluation view in a future version of Nomad.
-
Tim Gross authored
When a cluster doesn't have a leader, the `nomad operator debug` command can safely use stale queries to gracefully degrade the consistency of almost all its queries. The query parameter for these API calls was not being set by the command. Some `api` package queries do not include `QueryOptions` because they target a specific agent, but they can potentially be forwarded to other agents. If there is no leader, these forwarded queries will fail. Provide methods to call these APIs with `QueryOptions`.
-
Luiz Aoqui authored
-
- 14 Dec, 2021 1 commit
-
-
Noel Quiles authored
-
- 13 Dec, 2021 8 commits
-
-
Noel Quiles authored
-
Kevin Wang authored
-
Tim Gross authored
Some operators use very long group/task `shutdown_delay` settings to safely drain network connections to their workloads after service deregistration. But during incident response, they may want to cause that drain to be skipped so they can quickly shed load. Provide a `-no-shutdown-delay` flag on the `nomad alloc stop` and `nomad job stop` commands that bypasses the delay. This sets a new desired transition state on the affected allocations that the allocation/task runner will identify during pre-kill on the client. Note (as documented here) that using this flag will almost always result in failed inbound network connections for workloads as the tasks will exit before clients receive updated service discovery information and won't be gracefully drained.
-
Tim Gross authored
Merge release 1.2.3 branch
-
Tim Gross authored
-
Tim Gross authored
Version 1.2.3
-
Tim Gross authored
-
Tim Gross authored
-
- 10 Dec, 2021 5 commits
-
-
Nomad Release Bot authored
-
Nomad Release bot authored
-
Tim Gross authored
-
Tim Gross authored
-
Tim Gross authored
API queries can request pagination using the `NextToken` and `PerPage` fields of `QueryOptions`, when supported by the underlying API. Add a `NextToken` field to the `structs.QueryMeta` so that we have a common field across RPCs to tell the caller where to resume paging from on their next API call. Include this field on the `api.QueryMeta` as well so that it's available for future versions of List HTTP APIs that wrap the response with `QueryMeta` rather than returning a simple list of structs. In the meantime callers can get the `X-Nomad-NextToken`. Add pagination to the `Eval.List` RPC by checking for pagination token and page size in `QueryOptions`. This will allow resuming from the last ID seen so long as the query parameters and the state store itself are unchanged between requests. Add filtering by job ID or evaluation status over the results we get out of the state store. Parse the query parameters of the `Eval.List` API into t...
-
- 09 Dec, 2021 5 commits
-
-
Kevin Wang authored
Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com> Co-authored-by:
Mike Nomitch <mnomitch@hashicorp.com>
-
Brandon Romano authored
-
Derek Strickland authored
-
Luiz Aoqui authored
-
- 08 Dec, 2021 1 commit
-
-
Luiz Aoqui authored
-
- 07 Dec, 2021 9 commits
-
-
Tim Gross authored
We don't run tests over documentation PRs marked by the branch prefix `docs-*`. With the new backport assistant, that should also include branches with the prefix `backports/docs-*`
-
Tim Gross authored
This changeset adds more specific recommendations as to what metrics to monitor, and what resources should be examined during incident response. It also renames the "Telemetry" section to "Monitoring Nomad" to surface the material better and distinguish it from the "Metric Reference". Co-authored-by:
Charlie Voiselle <464492+angrycub@users.noreply.github.com>
-
Noel Quiles authored
* Update @hashicorp/react-hashi-stack-menu * Upgrade to latest * One last upgrade
-
Vyacheslav Morov authored
-
Kevin Wang authored
-
James Rasell authored
docs: add license expiry metric to metrics website doc.
-
Michael Klein authored
-
James Rasell authored
-
Shantanu Gadgil authored
-
- 06 Dec, 2021 2 commits
-
-
Kevin Wang authored
-
Tim Gross authored
During incident response, operators may find that automated processes elsewhere in the organization can be generating new workloads on Nomad clusters that are unable to handle the workload. This changeset adds a field to the `SchedulerConfiguration` API that causes all job registration calls to be rejected unless the request has a management ACL token.
-
- 03 Dec, 2021 1 commit
-
-
Zachary Shilton authored
* website: bump deps to fix print styles * website: fix up print styles * fix: hashi-stack-menu print selector
-
- 02 Dec, 2021 2 commits
-
-
Derek Strickland authored
-
Tim Gross authored
-