Commit Graph

2575 Commits

Author SHA1 Message Date
Mahmood Ali 6d73ca0cfb
Merge pull request #6250 from hashicorp/f-raft-protocol-v3
Update default raft protocol to version 3
2019-09-04 09:34:41 -04:00
Mahmood Ali 3e2ab6e2a3 address review feedback 2019-09-03 21:44:39 -04:00
Mahmood Ali 277e358489
keep `security-related` together 2019-09-03 20:38:32 -04:00
Jamie Finnigan d4c9e1028f docs: task driver resource isolation & security 2019-09-03 15:19:46 -07:00
Jasmine Dahilig 4edebe389a
add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
Danielle fe027f3fd5
Merge pull request #6210 from hashicorp/f-update-node-response
docs: Update /v1/node/{node-id} example response
2019-09-01 19:17:30 +02:00
Danielle 857c85b25b
Merge pull request #6208 from pcgeek86/patch-1
Update AWS logo to current version
2019-09-01 08:41:23 +02:00
Preetha eba025f35d
Merge pull request #6237 from hashicorp/f-rkt-deprecated
rkt deprecation notice
2019-08-30 16:45:40 -05:00
Preetha Appan 4ebe5e3daf
fix casing 2019-08-30 15:31:28 -05:00
Preetha Appan 284ec935ea
Wording changes 2019-08-30 14:36:08 -05:00
Charlie Voiselle bbeb18ddbb Added vault PKI example with separate cert files 2019-08-30 11:24:34 -04:00
Tim Gross b79021adfd cli: split -dev and -dev-connect flags 2019-08-30 09:33:30 -04:00
Preetha Appan c8f5130978
Deprecation notice for rkt 2019-08-29 13:38:12 -05:00
Mahmood Ali 6eabf53b91 Default raft protocol to version 3 2019-08-28 15:56:59 -04:00
Charlie Voiselle 6f9a481648 Small typo fixes 2019-08-28 14:09:42 -04:00
Michael Schurter 3b0e1d8ef7 consul: use Consul's defaults and env vars
Use Consul's API package defaults and env vars as Nomad's defaults.
2019-08-27 14:56:52 -07:00
Jasmine Dahilig 4078393bb6
expose nomad namespace as environment variable in allocation #5692 (#6192) 2019-08-27 08:38:07 -07:00
Nick Fagerlund bc30275c98 Update middleman-hashicorp container (#6185) 2019-08-26 09:29:08 -05:00
Danielle Lancashire 7d1f313091
docs: Sort keys in node response 2019-08-26 14:10:13 +02:00
Danielle Lancashire d01bc955e5
docs: Update job specification sidebar 2019-08-26 14:05:43 +02:00
Danielle Lancashire 0438cdd64d
docs: Add client configuration for host_volume 2019-08-26 14:03:28 +02:00
Danielle Lancashire e3fb5bd78c
docs: Initial documentation for volume(_mount) 2019-08-26 13:09:54 +02:00
Danielle Lancashire 9ab3fb0908
docs: Update /v1/node/{node-id} example response
The nodes api documentation is fairly out of date, here I've updated the
entire response based on a local dev agent, rather than explicitly
adding new fields to bring us up to the current api shape.
2019-08-26 12:27:16 +02:00
Trevor Sullivan a832c23c19
Update AWS logo to current version 2019-08-25 14:18:24 -07:00
Jerome Gravel-Niquet cbdc1978bf Consul service meta (#6193)
* adds meta object to service in job spec, sends it to consul

* adds tests for service meta

* fix tests

* adds docs

* better hashing for service meta, use helper for copying meta when registering service

* tried to be DRY, but looks like it would be more work to use the
helper function
2019-08-23 12:49:02 -04:00
Chris Baker 1db5e3501f add node.region to interpolation documentation to address #6164 2019-08-20 17:55:21 +00:00
Charlie Voiselle 84880f5fbc
Merge pull request #6149 from hashicorp/docs-cv-prefer-routable
link-local addresses can be fingerprinted
2019-08-19 15:22:12 -04:00
Tim Gross 2ab004d971 command: add `-connect` flag to job init
Adds an example job for Consul Connect integration as well as an
annotated example job.
2019-08-19 14:43:04 -04:00
Charlie Voiselle af00dfa88b
Rewording based on reviews 2019-08-16 13:33:26 -04:00
Charlie Voiselle d9a77b0e61 link-local addresses can be fingerprinted
Added note to document that link-local addresses can be fingerprinted in
cases where no routable address can be found.  Crosslinked to
`"fingerprint.network.disallow_link_local"` because they are somewhat
related and it is documented at a reasonable distance from this setting.
2019-08-16 12:44:57 -04:00
Michael Lange 33fd8e956e Add a link to the discussion forum on the resources page 2019-08-16 03:20:42 -07:00
Charlie Voiselle 7a5983b381 --payload -> --data for curl; consistent @payload 2019-08-15 14:09:44 -04:00
Michael Schurter 6a45c2431e
Merge pull request #6103 from groovemonkey/master
syntax fix; add example for alloc exec -task
2019-08-15 10:54:00 -07:00
Tim Gross 2a592a2e0c
agent: add optional param to -dev flag for connect (#6126)
Consul Connect must route traffic between network namespaces through a
public interface (i.e. not localhost). In order to support testing in
dev mode, users needed to manually set the interface which doesn't
make for a smooth experience.

This commit adds a facility for adding optional parameters to the
`nomad agent -dev` flag and uses it to add a `-dev=connect` flag that
binds to a public interface on the host.
2019-08-14 15:29:37 -04:00
Buck Doyle 7a29fdfaf7
website: Add TOC links in page body (#6113)
This adds the “Jump to section” feature from Terraform’s documentation.
2019-08-13 08:19:01 -05:00
Tim Gross 03433f35d4 client/template: configuration for function blacklist and sandboxing
When rendering a task template, the `plugin` function is no longer
permitted by default and will raise an error. An operator can opt-in
to permitting this function with the new `template.function_blacklist`
field in the client configuration.

When rendering a task template, path parameters for the `file`
function will be treated as relative to the task directory by
default. Relative paths or symlinks that point outside the task
directory will raise an error. An operator can opt-out of this
protection with the new `template.disable_file_sandbox` field in the
client configuration.
2019-08-12 16:34:48 -04:00
David Cohen e69865264b syntax fix; add example for alloc exec -task 2019-08-09 10:16:45 -04:00
defau1t aae9c4b368 Fix Rkt driver requirements list (#6093) 2019-08-08 12:03:41 -05:00
Michael Schurter 3e4796799a
Merge pull request #6003 from pete-woods/add-job-status-metrics
nomad: add job status metrics
2019-08-07 08:02:16 -07:00
Buck Doyle 62480898a1
Fix namespace parameter name (#6056)
I missed this in #6051.
2019-08-01 09:49:41 -05:00
Tim Gross 443ce3a831
api: add follow param to file stream endpoint (#6049)
The `/v1/client/fs/stream endpoint` supports tailing a file by writing
chunks out as they come in. But not all browsers support streams
(ex IE11) so we need to be able to tail a file without streaming.

The fs stream and logs endpoint use the same implementation for
filesystem streaming under the hood, but the fs stream always passes
the `follow` parameter set to true. This adds the same toggle to the
fs stream endpoint that we have for logs. It defaults to true for
backwards compatibility.
2019-08-01 08:32:43 -04:00
Buck Doyle b81b87e219
Fix documentation namespace API property (#6051) 2019-07-31 16:05:48 -05:00
Nick Ethier 34deb47a8b
Merge network namespaces work into master (#6046)
Merge network namespaces work into master
2019-07-31 11:03:17 -04:00
Mahmood Ali caccb2222a
Merge pull request #6034 from grddev/patch-1
Fix typo in Spreads key in JSON Job Specification
2019-07-31 02:28:19 -05:00
Mahmood Ali 7d8dc50514
Merge pull request #6035 from jrasell/patch-6
Update example setup to use non-deprecated join
2019-07-31 02:27:51 -05:00
Nick Ethier af7f34604e
Update website/source/docs/drivers/docker.html.md
Co-Authored-By: Michael Schurter <michael.schurter@gmail.com>
2019-07-31 01:04:08 -04:00
Nick Ethier 1dae42ab81
docker: allow configuration of infra image 2019-07-31 01:04:07 -04:00
Nick Ethier c90753ee23
website: add new networking related client config docs 2019-07-31 01:04:07 -04:00
Michael Schurter d31488e262
Merge pull request #5978 from pete-woods/configurable-job-gc-interval
command/agent: allow the job GC interval to be configured
2019-07-30 15:54:29 -07:00
Preetha Appan d858a04deb
Update to latest downloadable release 2019-07-30 16:47:40 -05:00
Preetha Appan fa93345c5d
Fix broken link 2019-07-30 13:37:44 -05:00
Michael Schurter 9a11edbfb5
Merge pull request #6026 from hashicorp/docs-job-name
docs: job names are unique by region/namespace
2019-07-30 08:13:04 -07:00
James Rasell d70d8c4256
Update example setup to use non-deprecated join 2019-07-30 14:54:52 +02:00
Gustav 78f4b11207
Fix typo in Spreads key in JSON Job Specification 2019-07-30 11:25:29 +02:00
Omar Khawaja f1a0086b53
fix typo for link to acl bootstrap reset process (#6032) 2019-07-29 17:11:14 -04:00
Michael Schurter efcfa09031
Merge pull request #6027 from hashicorp/docs-ref-arch
docs: mention acls & sentinel are multi-region
2019-07-29 13:47:06 -07:00
Omar Khawaja 0d52fd8893
Service and Batch Job Preemption Guide (#5853)
* fix navigation issue for spread guide

* skeleton for preemption guide

* background info, challenge, and pre-reqs

* steps

* rewording of intro

* re-wording

* adding more detail to intro

* clarify use of preemption in intro
2019-07-29 16:38:18 -04:00
Michael Schurter 163821c82e docs: mention acls & sentinel are multi-region
The reference architecture neglected to mention ACLs and Sentinel
policies are the exception to "no data is shared between regions."
2019-07-29 08:14:20 -07:00
Michael Schurter 9bce153a50 docs: job names are unique by region/namespace
"globally" is incorrect here unless you're running 1 region or at least
only 1 per planet.

Sorted link list at the bottom as well.
2019-07-29 08:00:28 -07:00
Michael Schurter 9ec48d27f8
Merge pull request #6010 from spuder/patch-1
Clarify encryption keys are shared across datacenters
2019-07-26 11:24:36 -07:00
Pete Woods 9096aa3d23
Add job status metrics
This avoids having to write services to repeatedly hit the jobs API
2019-07-26 10:12:49 +01:00
Pete Woods b47c5ca467
Allow the job GC interval to be configured from default of 5 minutes 2019-07-26 10:11:25 +01:00
Preetha Appan 7455688649
fix grammar 2019-07-25 21:03:20 -05:00
Michael Schurter 5d5a9676e8
docs: cluster -> region 2019-07-25 15:23:10 -07:00
Spencer Owen 835e74f3b2
Clarify encryption keys are shared across datacenters
#5973
2019-07-24 21:03:46 -06:00
Lang Martin db9fcb03f4 docs for linux raw_exec cgroups 2019-07-24 12:36:49 -04:00
Preetha Appan cc20b3169c
Add download link for Nomad 0.9.4 rc1 2019-07-23 12:16:53 -05:00
Preetha 35f4bd4279
Merge pull request #5985 from hashicorp/b-enterprise-docs-guides-links
Fix links to namespace and quotas guides
2019-07-22 13:54:25 -05:00
Mahmood Ali dd6f55f33f
Merge pull request #5989 from hashicorp/d-fix-bashism-text
Clarify script checks requiring shell
2019-07-22 19:41:07 +08:00
Mahmood Ali 305b61631e Clarify script checks requiring shell
Closes https://github.com/hashicorp/nomad/issues/5981
2019-07-22 18:34:59 +08:00
Buck Doyle 1eaf8b0568 Fix links to namespace and quotas guides 2019-07-19 12:45:28 -05:00
tariq87 98c8103a05
Update index.html.md 2019-07-19 09:21:20 +05:30
Yishan Lin 8662b00bdc Added line around interoperability to Nomad Downloads page. 2019-07-15 14:11:11 -07:00
cneira ef214a8790 fixup 2019-07-12 17:08:23 -04:00
cneira 2f7061a40f Merge branch 'jail-task-driver' of https://github.com/cneira/nomad into jail-task-driver 2019-07-12 16:52:22 -04:00
cneira 438d27c652 fixup 2019-07-12 16:52:19 -04:00
Carlos Neira 33e1cf4ba6
Update jail-task-driver.html.md 2019-07-12 11:45:56 -04:00
Carlos Neira c9112dd9bf
Fixed LXC reference 2019-07-12 11:27:47 -04:00
cneira 82baa8c5a7 Added Community task driver for FreeBSD jails 2019-07-11 13:43:16 -04:00
Michael Schurter d3157160ce website: link to nick's talk 2019-07-10 09:20:37 +02:00
Michael Schurter 75936652c0 website: mention cni plugin requirement 2019-07-10 09:13:10 +02:00
Michael Schurter 58e14ffa66 website: Add link to connect tp download 2019-07-09 17:01:35 +02:00
Michael Schurter 5594739eb4 website: switch to prettier demo 2019-07-09 14:44:35 +02:00
Michael Schurter af0e7b8495 website: link to consul 1.6 beta 2019-07-08 22:20:02 +02:00
Michael Schurter 1ef8b37d8d website: minor connect improvements 2019-07-08 13:31:07 +02:00
Nick Ethier c6064c663a
website: change consul and nomad start up to reflect changes 2019-07-07 06:07:26 -04:00
Preetha Appan 1206c895f6
First pass at a Consul Connect example docs 2019-07-06 10:50:02 -05:00
Jabi 6ce262856e Fix typo (#5922) 2019-07-04 10:49:15 -05:00
Jasmine Dahilig 1c1e81b294
Merge pull request #5846 from hashicorp/f-docker-log-constraints
add log rotation to docker driver log defaults
2019-07-03 10:17:19 -07:00
Jasmine Dahilig cece83dd9c default to json-file log rotation for docker driver 2019-07-03 09:04:45 -07:00
Yishan Lin cd8fc7c983
Merge pull request #5804 from hashicorp/yishan/revised-enterprise-docs
Revised Nomad Enterprise page
2019-07-01 10:41:32 -07:00
Yishan Lin 92f36ed021 Updated with suggestions. 2019-07-01 10:39:35 -07:00
Omar Khawaja b9f0407f17
make purge parameter lowercase (#5895) 2019-06-27 14:07:25 -04:00
Robert James Hernandez 16939aa8c3 Update website example config 2019-06-23 10:41:48 -07:00
Omar Khawaja 4f357a91ac
[WIP] Add telemetry overview section (#5529)
* re-arrange telemetry docs and add overview with navigation

* update job and task status section

* fix navigation

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/metrics.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/metrics.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* fix formatting for nomad.plan.evaluate metric

* clarifications on collection interval and namespace labell

* fix typo

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>

* Update website/source/docs/telemetry/overview.html.md

Co-Authored-By: Chris Baker <cgbaker@hashicorp.com>
2019-06-19 15:25:14 -04:00
Preetha 586e50d1a4
Merge pull request #5841 from hashicorp/f-raft-snapshot-metrics
Raft and state store indexes as metrics
2019-06-19 12:01:03 -05:00
Preetha Appan 539d12e583
Add links to godoc for raft related metrics 2019-06-19 11:59:05 -05:00
Omar Khawaja da4c801eb2
fixing typos in operator endpoint api docs (#5854) 2019-06-19 10:35:47 -04:00
Preetha Appan 599eba3be1
docs for new metrics 2019-06-17 15:51:49 -05:00
Yishan Lin 550af0827a Added revised copy from rcgenova to feature paragraphs. 2019-06-14 11:25:30 -07:00