open-nomad/command
Tim Gross 37134a4a37
eval delete: move batching of deletes into RPC handler and state (#15117)
During unusual outage recovery scenarios on large clusters, a backlog of
millions of evaluations can appear. In these cases, the `eval delete` command can
put excessive load on the cluster by listing large sets of evals to extract the
IDs and then sending larges batches of IDs. Although the command's batch size
was carefully tuned, we still need to be JSON deserialize, re-serialize to
MessagePack, send the log entries through raft, and get the FSM applied.

To improve performance of this recovery case, move the batching process into the
RPC handler and the state store. The design here is a little weird, so let's
look a the failed options first:

* A naive solution here would be to just send the filter as the raft request and
  let the FSM apply delete the whole set in a single operation. Benchmarking with
  1M evals on a 3 node cluster demonstrated this can block the FSM apply for
  several minutes, which puts the cluster at risk if there's a leadership
  failover (the barrier write can't be made while this apply is in-flight).

* A less naive but still bad solution would be to have the RPC handler filter
  and paginate, and then hand a list of IDs to the existing raft log
  entry. Benchmarks showed this blocked the FSM apply for 20-30s at a time and
  took roughly an hour to complete.

Instead, we're filtering and paginating in the RPC handler to find a page token,
and then passing both the filter and page token in the raft log. The FSM apply
recreates the paginator using the filter and page token to get roughly the same
page of evaluations, which it then deletes. The pagination process is fairly
cheap (only abut 5% of the total FSM apply time), so counter-intuitively this
rework ends up being much faster. A benchmark of 1M evaluations showed this
blocked the FSM apply for 20-30ms at a time (typical for normal operations) and
completes in less than 4 minutes.

Note that, as with the existing design, this delete is not consistent: a new
evaluation inserted "behind" the cursor of the pagination will fail to be
deleted.
2022-11-14 14:08:13 -05:00
..
agent eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
assets docker: update images to reference hashicorpdev Docker organization (#12903) 2022-06-08 15:06:00 -04:00
raft_tools command: switch from raft-boltdb to raft-boltdb/v2 2022-02-23 14:43:59 -06:00
test-resources
testdata cli: add nomad fmt (#14779) 2022-10-06 17:00:29 -04:00
acl.go
acl_bootstrap.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
acl_bootstrap_test.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
acl_policy.go use allow/deny instead of the colored alternatives (#9019) 2020-10-12 08:47:05 -04:00
acl_policy_apply.go allow ACL policies to be associated with workload identity (#14140) 2022-08-22 16:41:21 -04:00
acl_policy_apply_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_policy_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
acl_policy_delete_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_policy_info.go allow ACL policies to be associated with workload identity (#14140) 2022-08-22 16:41:21 -04:00
acl_policy_info_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_policy_list.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
acl_policy_list_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_role.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_create.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_role_create_test.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_role_delete.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_delete_test.go acl: add replication to ACL Roles from authoritative region. (#14176) 2022-08-22 08:54:07 +02:00
acl_role_info.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_info_test.go acl: add replication to ACL Roles from authoritative region. (#14176) 2022-08-22 08:54:07 +02:00
acl_role_list.go acl: make listing RPC and HTTP API a stub return object. (#14211) 2022-08-22 17:20:23 +02:00
acl_role_list_test.go acl: add replication to ACL Roles from authoritative region. (#14176) 2022-08-22 08:54:07 +02:00
acl_role_test.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_update.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_role_update_test.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_token.go
acl_token_create.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_create_test.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
acl_token_delete.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
acl_token_delete_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_token_info.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_info_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_token_list.go acl: enable configuration and visualisation of token expiration for users (#13846) 2022-07-20 10:06:23 +02:00
acl_token_list_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_token_self.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_self_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
acl_token_update.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_update_test.go cleanup: first pass at fixing command package warnings 2022-08-17 15:33:37 -05:00
agent_info.go fix agent-info help message formatting (#10747) 2021-06-11 15:39:28 -04:00
agent_info_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
agent_monitor.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
agent_monitor_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
alloc.go
alloc_checks.go cli: display nomad service check status output in CLI commands 2022-08-19 09:18:29 -05:00
alloc_checks_test.go cli: display nomad service check status output in CLI commands 2022-08-19 09:18:29 -05:00
alloc_exec.go feat: docker/docker/pkg/term has been deprecated in favor of moby/term 2022-06-26 15:35:27 +02:00
alloc_exec_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
alloc_exec_unix.go gofmt all the files 2021-10-01 10:14:28 -04:00
alloc_exec_windows.go add CLI commands for nomad exec 2019-05-12 22:04:50 -04:00
alloc_fs.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_fs_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
alloc_logs.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_logs_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
alloc_restart.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
alloc_restart_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
alloc_signal.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_signal_test.go cli: display nomad service check status output in CLI commands 2022-08-19 09:18:29 -05:00
alloc_status.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
alloc_status_test.go testing: fix flakey check status test 2022-08-24 15:11:41 -05:00
alloc_stop.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_stop_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
check.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
check_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
commands.go cli: add nomad fmt (#14779) 2022-10-06 17:00:29 -04:00
commands_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
config.go Add config command and config validate subcommand to nomad CLI (#9198) 2022-02-08 16:52:35 -05:00
config_validate.go Add config command and config validate subcommand to nomad CLI (#9198) 2022-02-08 16:52:35 -05:00
config_validate_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
data_format.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
data_format_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment.go
deployment_fail.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_fail_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_list.go Add go-bexpr filters to evals and deployment list endpoints (#12034) 2022-02-16 11:40:30 -05:00
deployment_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_pause.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
deployment_pause_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_promote.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_promote_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_resume.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_resume_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_status.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
deployment_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_unblock.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_unblock_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval.go cli: improve output of eval commands (#13581) 2022-07-07 13:13:34 -04:00
eval_delete.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
eval_delete_test.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
eval_list.go cli: improve output of eval commands (#13581) 2022-07-07 13:13:34 -04:00
eval_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval_status.go cli: remove deprecated eval status -json list behavior (#14651) 2022-09-22 10:56:32 -04:00
eval_status_test.go cli: remove deprecated eval status -json list behavior (#14651) 2022-09-22 10:56:32 -04:00
event.go Add missing comma in help-text example. 2020-11-02 18:00:53 -05:00
event_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
fmt.go cli: add nomad fmt (#14779) 2022-10-06 17:00:29 -04:00
fmt_test.go cli: add nomad fmt (#14779) 2022-10-06 17:00:29 -04:00
helper_devices.go device attributes in nomad node status -verbose 2018-12-10 12:18:24 -05:00
helper_devices_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
helpers.go artifact: fix numerous go-getter security issues 2022-05-24 16:29:39 -04:00
helpers_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
integration_test.go ci: switch to 22.04 LTS for GHA Core CI tests 2022-05-25 08:19:40 -05:00
job.go
job_allocs.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_allocs_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_deployments.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_deployments_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_dispatch.go Allow specification of a custom job name/prefix for parameterized jobs (#14631) 2022-10-06 16:21:40 -04:00
job_dispatch_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_eval.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_eval_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_history.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_history_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_init.bindata_assetfs.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
job_init.go cli: Allow user to specify dest filename for nomad init (#6520) 2019-12-19 14:59:12 -05:00
job_init_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
job_inspect.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_periodic.go gofmt/goimport and test formatting 2019-04-12 20:55:55 +00:00
job_periodic_force.go cli: force periodic job if its id equals search prefix 2022-08-26 10:54:37 -04:00
job_periodic_force_test.go cli: force periodic job if its id equals search prefix 2022-08-26 10:54:37 -04:00
job_plan.go Check that JobPlanResponse Diff Type is None before checking for changes on getExitCode (#14492) 2022-10-06 16:23:22 -04:00
job_plan_test.go cli: set -hcl2-strict to false if -hcl1 is defined (#14426) 2022-09-01 10:42:08 -04:00
job_promote.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
job_promote_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_revert.go Return evalID if -detach flag is passed to job revert (#13364) 2022-06-15 14:20:29 -04:00
job_revert_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_run.go cli: set -hcl2-strict to false if -hcl1 is defined (#14426) 2022-09-01 10:42:08 -04:00
job_run_test.go cli: set -hcl2-strict to false if -hcl1 is defined (#14426) 2022-09-01 10:42:08 -04:00
job_scale.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_scale_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
job_scaling_events.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_scaling_events_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
job_status.go [ui] Adds meta to job list stub and displays a pack logo on the jobs index (#14833) 2022-11-02 16:58:24 -04:00
job_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_stop.go provide -no-shutdown-delay flag for job/alloc stop (#11596) 2021-12-13 14:54:53 -05:00
job_stop_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_validate.go cli: set -hcl2-strict to false if -hcl1 is defined (#14426) 2022-09-01 10:42:08 -04:00
job_validate_test.go cli: set -hcl2-strict to false if -hcl1 is defined (#14426) 2022-09-01 10:42:08 -04:00
license.go license: remove "Terminates At" from license get command 2021-04-28 12:00:30 -04:00
license_get.go license: update 'license get' command 2021-04-28 12:00:30 -04:00
license_get_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
meta.go cli: update namespace wildcard help to be non-specific. 2022-03-23 12:56:48 +01:00
meta_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
metrics.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
metrics_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
monitor.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
monitor_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace.go cli: Update namespace helptext guide URL (#10074) 2021-02-23 08:31:19 -08:00
namespace_apply.go cli: detect directory when applying namespace spec file (#12738) 2022-04-21 14:53:45 -04:00
namespace_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
namespace_delete_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_inspect.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
namespace_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
namespace_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_status.go cli: namespace meta should be formatted consistently 2022-03-04 14:13:48 -08:00
namespace_status_oss_test.go cli: namespace tests should be run on oss 2022-03-04 14:13:48 -08:00
namespace_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node.go command: Fix node help error 2020-11-30 11:12:06 -05:00
node_config.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
node_config_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_drain.go cli: ensure node status and drain use correct cmd name. (#13656) 2022-07-11 09:50:42 +02:00
node_drain_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
node_eligibility.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
node_eligibility_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_status.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
node_status_test.go cli: add -quiet to nomad node status command. (#12426) 2022-04-05 15:53:43 -04:00
operator.go
operator_api.go cli: set content length on operator api requests (#14634) 2022-09-26 14:21:40 -04:00
operator_api_test.go cli: set content length on operator api requests (#14634) 2022-09-26 14:21:40 -04:00
operator_autopilot.go
operator_autopilot_get.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
operator_autopilot_get_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_autopilot_set.go command: give flag-helpers a better name 2020-12-14 10:07:27 -06:00
operator_autopilot_set_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_autopilot_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_debug.go cli: prevent panic on operator debug (#14992) 2022-10-20 15:53:58 -04:00
operator_debug_test.go Vars: Update CT dependency to support variables. (#14399) 2022-08-30 15:26:01 -04:00
operator_gossip_keyring.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_generate.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_install.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_list.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_remove.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_test.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_use.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_keyring.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_raft.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05:00
operator_raft_info.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05:00
operator_raft_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
operator_raft_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_raft_logs.go cli: stream raft logs to operator raft logs subcommand (#11684) 2021-12-16 13:38:58 -05:00
operator_raft_remove.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
operator_raft_remove_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_raft_state.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05:00
operator_raft_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_root_keyring.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
operator_root_keyring_list.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
operator_root_keyring_remove.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
operator_root_keyring_rotate.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
operator_scheduler.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_get_config.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_get_config_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_set_config.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_set_config_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_snapshot.go Implement snapshot save CLI 2020-05-21 20:04:38 -04:00
operator_snapshot_inspect.go cli: use <file> for consistency 2020-06-19 12:19:38 -04:00
operator_snapshot_inspect_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
operator_snapshot_restore.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
operator_snapshot_restore_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
operator_snapshot_save.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
operator_snapshot_save_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
operator_snapshot_state.go snapshot restore-from-archive streaming and filtering (#13658) 2022-07-11 10:48:00 -04:00
operator_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
plugin.go csi: CLI for volume status, registration/deregistration and plugin status (#7193) 2020-03-23 13:58:30 -04:00
plugin_status.go cmd: validate the type flag when querying plugin status. 2021-06-07 13:53:28 +02:00
plugin_status_csi.go CSI: presentation improvements (#12325) 2022-03-22 09:48:38 -04:00
plugin_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota.go
quota_apply.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
quota_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
quota_delete_test.go fix minor issues found durint ENT merge (#14250) 2022-08-23 17:22:18 -04:00
quota_init.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
quota_init_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
quota_inspect.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
quota_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
quota_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_status.go cli: remove network from quota status output (#14468) 2022-09-06 09:37:16 -04:00
quota_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation.go cli: add recommendation commands. 2020-11-06 11:16:24 +01:00
recommendation_apply.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
recommendation_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation_dismiss.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
recommendation_dismiss_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation_info.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
recommendation_info_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
recommendation_list_test.go tests: wait on client in a couple of tests 2022-03-30 08:48:23 -05:00
scaling.go cli: add policy list and info to new scaling cmd. 2020-10-05 15:18:30 +02:00
scaling_policy.go cli: ensure scaling policy target doesn't have trailing comma 2020-10-06 12:18:17 +02:00
scaling_policy_info.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
scaling_policy_info_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
scaling_policy_list.go scaling policy -verbose flag, plus testing and other recommendations from review 2021-02-04 15:08:13 +00:00
scaling_policy_list_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
scaling_policy_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel.go
sentinel_apply.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_delete_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel_read.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_read_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
server.go
server_force_leave.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
server_force_leave_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
server_join.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
server_join_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
server_members.go cli: display Raft version in server members (#12317) 2022-03-17 14:15:10 -04:00
server_members_test.go cli: display Raft version in server members (#12317) 2022-03-17 14:15:10 -04:00
service.go cli: add service commands for list, info, and delete. 2022-03-21 11:59:03 +01:00
service_delete.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
service_delete_test.go cli: fixup service test delete by using more atomic actions. 2022-04-06 08:36:23 +01:00
service_info.go services: fix imports 2022-04-22 09:15:51 -05:00
service_info_test.go services: enable setting arbitrary address value in service registrations 2022-04-22 09:14:29 -05:00
service_list.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
service_list_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
status.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system.go cli: add system command and subcmds to interact with system API. 2020-01-13 11:34:46 +01:00
system_gc.go cli: fixed system commands so they correctly use passed flags. 2021-06-28 10:57:50 +02:00
system_gc_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_reconcile.go cli: add system command and subcmds to interact with system API. 2020-01-13 11:34:46 +01:00
system_reconcile_summaries.go cli: fixed system commands so they correctly use passed flags. 2021-06-28 10:57:50 +02:00
system_reconcile_summaries_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_reconcile_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
testing_test.go testing: fix flakey check status test 2022-08-24 15:11:41 -05:00
ui.go cli: allow setting namespace and region in the nomad ui command (#11364) 2021-10-21 16:24:39 -04:00
ui_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
var.go variables: use correct URL in ref to docs (#14792) 2022-10-04 11:30:49 -04:00
var_get.go cli: fix doc strings for var get command (#14697) 2022-09-26 15:05:22 -04:00
var_get_test.go variables: fix ENT-only test failure in command tests (#14599) 2022-09-15 10:37:57 -04:00
var_init.go variables: change spec file extension to match rename (#14552) 2022-09-12 16:26:18 -04:00
var_init_test.go variables: change spec file extension to match rename (#14552) 2022-09-12 16:26:18 -04:00
var_list.go docs: include path in ACL requirements for variables (#14561) 2022-09-13 10:21:29 -04:00
var_list_test.go Update flags to align with other var commands. (#14550) 2022-09-12 15:26:12 -04:00
var_purge.go docs: include path in ACL requirements for variables (#14561) 2022-09-13 10:21:29 -04:00
var_purge_test.go Vars: CLI commands for var get, var put, var purge (#14400) 2022-09-09 17:55:20 -04:00
var_put.go cli: print success message on var put (#14620) 2022-09-22 10:18:01 -04:00
var_put_test.go Vars: CLI commands for var get, var put, var purge (#14400) 2022-09-09 17:55:20 -04:00
var_test.go Vars: CLI commands for var get, var put, var purge (#14400) 2022-09-09 17:55:20 -04:00
version.go
version_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
volume.go CSI: CLI for create/delete/list 2021-03-31 16:37:09 -04:00
volume_create.go CSI: CLI for create/delete/list 2021-03-31 16:37:09 -04:00
volume_create_csi.go CSI: CLI for create/delete/list 2021-03-31 16:37:09 -04:00
volume_delete.go CSI: Add secrets flag support for delete volume (#11245) 2022-04-05 08:59:11 -04:00
volume_deregister.go csi: respect -verbose flag for allocs in volume status (#12153) 2022-03-01 07:57:29 -05:00
volume_detach.go csi: respect -verbose flag for allocs in volume status (#12153) 2022-03-01 07:57:29 -05:00
volume_init.go csi: allow namespace field to be passed in volume spec (#12400) 2022-03-29 14:46:39 -04:00
volume_register.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
volume_register_csi.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00
volume_register_test.go csi: allow namespace field to be passed in volume spec (#12400) 2022-03-29 14:46:39 -04:00
volume_snapshot.go csi: subcommand for volume snapshot (#12152) 2022-03-01 13:30:30 -05:00
volume_snapshot_create.go csi: add -secret and -parameter flag to volume snapshot create (#12360) 2022-03-24 10:29:50 -04:00
volume_snapshot_delete.go csi: add -secret and -parameter flag to volume snapshot create (#12360) 2022-03-24 10:29:50 -04:00
volume_snapshot_list.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
volume_status.go CSI: presentation improvements (#12325) 2022-03-22 09:48:38 -04:00
volume_status_csi.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
volume_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00