Tim Gross
2c3db7ee1d
scheduler: config option to reject job registration ( #11610 )
...
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.
2021-12-06 15:20:34 -05:00
Zachary Shilton
aa7aa6b12a
website: bump deps to fix print styles ( #11365 )
...
* website: bump deps to fix print styles
* website: fix up print styles
* fix: hashi-stack-menu print selector
2021-12-03 10:14:21 -05:00
Tim Gross
216d4f8644
ui: change Consul/Vault base URL field name ( #11589 )
...
Give ourselves some room for extension in the UI configuration block
by naming the field `ui_url`, which will let us have an `api_url`.
Fix the template path to ensure we're getting the right value from the
API.
2021-11-30 13:20:29 -05:00
James Rasell
5a2e329408
Merge pull request #11577 from hashicorp/b-gh-11576
...
docs: add deprecation note to old style network task env vars.
2021-11-30 12:15:31 +01:00
Brandon Romano
9895a198c0
Updates use cases
2021-11-29 09:16:17 -08:00
Tim Gross
851ed6322f
docs: mount_flags takes a slice of strings ( #11583 )
...
The `mount_flags` option takes a slice of strings, not a
comma-separated string like the flags passed to `mount(8)`.
2021-11-29 10:07:34 -05:00
James Rasell
481f5333c6
docs: add deprecation note to old style network task env vars.
2021-11-25 12:58:32 +01:00
Luiz Aoqui
6ad6ad67fe
docs: document new Prometheus configuration for the Autoscaler APM plugin ( #11562 )
2021-11-24 17:37:35 -05:00
Luiz Aoqui
f9871fbae1
docs: add CLI and config docs for the Autoscaler policy source config ( #11559 )
2021-11-24 16:17:37 -05:00
Luiz Aoqui
53ab5ea169
update download to Nomad v1.2.2 ( #11569 )
2021-11-24 14:30:09 -05:00
Luiz Aoqui
9a0fee0a17
docs: add upgrade guide notes for Nomad 1.2.2 ( #11567 )
2021-11-24 14:24:20 -05:00
Tim Gross
1160817731
config: UI configuration block with Vault/Consul links ( #11555 )
...
Add `ui` block to agent configuration to enable/disable the web UI and
provide the web UI with links to Vault/Consul.
2021-11-24 11:20:02 -05:00
James Rasell
416b14ecef
Merge pull request #11535 from hashicorp/docs-vault-token
...
docs: clarify vault.token only required on servers
2021-11-23 09:26:06 +01:00
James Rasell
80dcae7216
core: allow setting and propagation of eval priority on job de/registration ( #11532 )
...
This change modifies the Nomad job register and deregister RPCs to
accept an updated option set which includes eval priority. This
param is optional and override the use of the job priority to set
the eval priority.
In order to ensure all evaluations as a result of the request use
the same eval priority, the priority is shared to the
allocReconciler and deploymentWatcher. This creates a new
distinction between eval priority and job priority.
The Nomad agent HTTP API has been modified to allow setting the
eval priority on job update and delete. To keep consistency with
the current v1 API, job update accepts this as a payload param;
job delete accepts this as a query param.
Any user supplied value is validated within the agent HTTP handler
removing the need to pass invalid requests to the server.
The register and deregister opts functions now all for setting
the eval priority on requests.
The change includes a small change to the DeregisterOpts function
which handles nil opts. This brings the function inline with the
RegisterOpts.
2021-11-23 09:23:31 +01:00
Luiz Aoqui
9dd93990c5
Merge tag 'v1.2.1' into merge-release-1.2.1-branch
...
Version 1.2.1
2021-11-22 10:47:04 -05:00
Luiz Aoqui
08af85cdf6
update download to Nomad v1.2.1 ( #11553 )
2021-11-22 10:24:39 -05:00
Tim Gross
40de248b94
qemu: add args_allowlist to sandbox VM command line inputs
...
The QEMU driver allows arbitrary command line options, but many of
these options give access to host resources that operators may not
want to expose such as devices. Add an optional allowlist to the
plugin configuration so that operators can limit the resources for
QEMU.
2021-11-19 11:11:52 -05:00
James Rasell
663698db95
docs: add global query param to API job deregister endpoint.
2021-11-19 13:45:24 +01:00
Michael Schurter
5204aa7e46
docs: clarify vault.token only required on servers
...
While it *is* clarified toward the bottom of this page, I've seen people
go to great lengths to configure tokens for clients anyway, so I think
it's worth noting on the parameter's docs as well.
2021-11-18 16:34:59 -08:00
Luiz Aoqui
fa1586cc47
update website banner ( #11512 )
2021-11-16 14:15:58 -05:00
Luiz Aoqui
cce9e9b046
update download to Nomad v1.2.0 ( #11511 )
2021-11-16 12:13:35 -05:00
Luiz Aoqui
18ce6caac7
docs: add note about the Nomad APM autoscaling plugin and scaling cluster to zero ( #11494 )
2021-11-16 11:58:26 -05:00
Luiz Aoqui
7cbdcd11cc
docs: remove mutual-exclusion between node class and datacenter in scaling policies ( #11499 )
2021-11-16 11:58:14 -05:00
Luiz Aoqui
6f40905500
add Nomad v1.2.0-rc1 download box ( #11485 )
2021-11-09 16:37:09 -05:00
kfenech1
6bbcb180f2
docs: nomad.client.unallocated.memory is in Megabytes not bytes ( #11468 )
2021-11-08 11:05:11 -05:00
Alessandro De Blasis
9a5248b932
cli: show host_network in nomad status ( #11432 )
...
Enhance the CLI in order to return the host network in two flavors
(default, verbose) of the `node status` command.
Fixes : #11223 .
Signed-off-by: Alessandro De Blasis <alex@deblasis.net >
2021-11-05 09:02:46 -04:00
James Rasell
5ad8bb08d9
Merge pull request #11444 from hashicorp/b-update-apidocs-alloclist-sample-resp
...
docs: update API alloc list sample response to be current.
2021-11-05 08:09:23 +01:00
Florian Apolloner
b52f42db9a
Added a -hcl2-strict flag to allow for lenient hcl variable parsing. ( #11284 )
...
Co-authored-by: James Rasell <jrasell@hashicorp.com >
2021-11-04 16:33:09 +01:00
James Rasell
8662dd8335
Merge pull request #11333 from hashicorp/assareh-patch-1
...
exactly one of ingress, terminating, or mesh must be configured
2021-11-04 11:13:04 +01:00
James Rasell
88d68e5548
docs: update API alloc list same response to be current.
2021-11-04 10:22:21 +01:00
Michael Schurter
04cab9dbec
Merge pull request #11416 from hashicorp/f-rejected-info
...
core: bump rejected plans from debug -> info
2021-11-03 16:49:28 -07:00
Michael Schurter
ba7694855d
Merge pull request #11334 from hashicorp/f-chroot-skip-allocdir
...
client: never embed alloc_dir in chroot
2021-11-03 16:48:09 -07:00
sara-gawlinski
23fce2efda
Update alert-banner.js
...
Add banner for Nomad Packs for Pack contest
2021-11-03 17:15:28 -05:00
Kevin Wang
dd218ff6c2
chore: react-subnav ( #11437 )
2021-11-03 17:06:38 -04:00
Luiz Aoqui
0e3cd604d2
docs: update podman driver documentation ( #11300 )
2021-11-03 11:07:44 -04:00
Luiz Aoqui
4e3d66cb17
add /s/port-plan-failure redirect and link to in in plan reject log message
2021-11-02 20:43:54 -04:00
Luiz Aoqui
89447fb42e
Revert "Return SchedulerConfig instead of SchedulerConfigResponse struct ( #10799 )" ( #11433 )
2021-11-02 17:42:52 -04:00
James Rasell
394cf3ce46
Merge pull request #11425 from hashicorp/b-add-timeout-consul-docs
...
docs: document Consul timeout config parameter.
2021-11-02 15:28:34 +01:00
James Rasell
8ba1444828
Merge pull request #11411 from hashicorp/f-gh-11406
...
cli: add json and template flag opts to acl bootstrap command.
2021-11-02 09:48:25 +01:00
James Rasell
6daf5db3a9
docs: document Consul timeout config parameter.
2021-11-02 08:28:45 +01:00
James Rasell
35a6d76d4d
docs: update acl bootstrap command to show json and template opts.
2021-10-29 09:01:58 +02:00
Pavel Alimpiev
dac525cc69
Fix typo in documentation
2021-10-29 03:31:53 +03:00
Dave May
f46b97b2df
debug: update default node-id and docs ( #11398 )
...
* debug: default node-id to all
* debug: align cli help and website documentation
2021-10-27 13:43:56 -04:00
Mike Nomitch
3025ae6087
Replaces accidental use of Vault with Nomad ( #11355 )
2021-10-27 08:35:31 -07:00
Luiz Aoqui
1fbe88fbd6
docs: add note and example of storing nomad job plan index to disk ( #11377 )
2021-10-26 20:25:22 -04:00
Charlie Voiselle
dce23e829f
DOCS: Update Consul Connect to Consul service mesh ( #11362 )
...
* Update Consul Connect to Consul service mesh
* Apply suggestions from code review
2021-10-26 15:10:21 -04:00
Noel Quiles
8a35232704
website: Add Fathom analytics ( #11276 )
...
* Impl Fathom analytics
* Actually install fathom-client
* Use analytics package instead of direct impl
* Remove explicit fathom-client dep
* Upgrade platform analytics package
2021-10-25 15:23:38 -04:00
Luiz Aoqui
8c799b3980
add dispatch idempotency token support in the CLI ( #10930 )
2021-10-22 12:39:05 -04:00
Luiz Aoqui
82a3ae7b40
cli: allow setting namespace and region in the nomad ui command ( #11364 )
2021-10-21 16:24:39 -04:00
James Rasell
dc49869c29
Merge pull request #11339 from hashicorp/b-website-fixup-interpolation-formatting
...
website: fixup link formatting within interpolation doc.
2021-10-21 09:15:36 +02:00