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.
  1. 16 Dec, 2021 3 commits
  2. 15 Dec, 2021 3 commits
    • Tim Gross's avatar
      `nomad eval list` command (#11675) · 97621ec3
      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.
      97621ec3
    • Tim Gross's avatar
      cli: ensure `-stale` flag is respected by `nomad operator debug` (#11678) · 072d3b6b
      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`.
      072d3b6b
    • Luiz Aoqui's avatar
  3. 14 Dec, 2021 1 commit
  4. 13 Dec, 2021 8 commits
  5. 10 Dec, 2021 5 commits
    • Nomad Release Bot's avatar
      Release v1.2.3 · 55e5c49b
      Nomad Release Bot authored
      55e5c49b
    • Nomad Release bot's avatar
      Generate files for 1.2.3 release · a79efc84
      Nomad Release bot authored
      a79efc84
    • Tim Gross's avatar
      docs: add 1.2.3 to changelog · 45a5b22b
      Tim Gross authored
      45a5b22b
    • Tim Gross's avatar
      golang security update 1.17.5 · 9439d7a8
      Tim Gross authored
      9439d7a8
    • Tim Gross's avatar
      evaluations list pagination and filtering (#11648) · 972708aa
      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...
      972708aa
  6. 09 Dec, 2021 5 commits
  7. 08 Dec, 2021 1 commit
  8. 07 Dec, 2021 9 commits
  9. 06 Dec, 2021 2 commits
    • Kevin Wang's avatar
      feat: `backport.yml` (#11613) · 9b72f4fc
      Kevin Wang authored
      9b72f4fc
    • Tim Gross's avatar
      scheduler: config option to reject job registration (#11610) · 2c3db7ee
      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.
      2c3db7ee
  10. 03 Dec, 2021 1 commit
  11. 02 Dec, 2021 2 commits