Commit Graph

2422 Commits

Author SHA1 Message Date
Omar Khawaja
cb266b4359 remove beta tag in navigation 2019-09-04 17:48:23 -04:00
Omar Khawaja
051241b33e remove tech preview status and update limitations 2019-09-04 17:46:02 -04:00
Omar Khawaja
b879c41f8a remove reference to consul 1.6-beta and update nomad agent command 2019-09-04 17:30:45 -04:00
Omar Khawaja
9df2085474 formatting paragraphs 2019-09-04 17:25:06 -04:00
Mahmood Ali
e66239d353 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
4c8441c47e address review feedback 2019-09-03 21:44:39 -04:00
Mahmood Ali
9e4c6aa924 keep security-related together 2019-09-03 20:38:32 -04:00
Jamie Finnigan
826cb27c98 docs: task driver resource isolation & security 2019-09-03 15:19:46 -07:00
Jasmine Dahilig
c346a47b5b add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
Danielle
6ac3a4a1fd 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
fb3abb288b Merge pull request #6208 from pcgeek86/patch-1
Update AWS logo to current version
2019-09-01 08:41:23 +02:00
Preetha
3e1ffe9059 Merge pull request #6237 from hashicorp/f-rkt-deprecated
rkt deprecation notice
2019-08-30 16:45:40 -05:00
Preetha Appan
9d094668e8 fix casing 2019-08-30 15:31:28 -05:00
Preetha Appan
b553e9c72d Wording changes 2019-08-30 14:36:08 -05:00
Tim Gross
ab38c1bbea cli: split -dev and -dev-connect flags 2019-08-30 09:33:30 -04:00
Preetha Appan
d3136a3ee3 Deprecation notice for rkt 2019-08-29 13:38:12 -05:00
Mahmood Ali
ae666bb417 Default raft protocol to version 3 2019-08-28 15:56:59 -04:00
Michael Schurter
6a1bdf04c4 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
80dfa33223 expose nomad namespace as environment variable in allocation #5692 (#6192) 2019-08-27 08:38:07 -07:00
Danielle Lancashire
bbb1b3921e docs: Sort keys in node response 2019-08-26 14:10:13 +02:00
Danielle Lancashire
460c766285 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
cd7cb02e9a Update AWS logo to current version 2019-08-25 14:18:24 -07:00
Jerome Gravel-Niquet
25e38c8257 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
697a0e4e49 add node.region to interpolation documentation to address #6164 2019-08-20 17:55:21 +00:00
Charlie Voiselle
6a09397baa 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
992db3346c 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
bc03834672 Rewording based on reviews 2019-08-16 13:33:26 -04:00
Charlie Voiselle
39cf666925 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
056d4dfa5e Add a link to the discussion forum on the resources page 2019-08-16 03:20:42 -07:00
Charlie Voiselle
6db7a8ce32 --payload -> --data for curl; consistent @payload 2019-08-15 14:09:44 -04:00
Michael Schurter
3cd0bcae82 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
e145d3ba30 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
0caf7e2750 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
ffb83e1ef1 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
ff7c0d0406 syntax fix; add example for alloc exec -task 2019-08-09 10:16:45 -04:00
defau1t
8c301f07bd Fix Rkt driver requirements list (#6093) 2019-08-08 12:03:41 -05:00
Michael Schurter
d45a32240f 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
3fd0c7220c Fix namespace parameter name (#6056)
I missed this in #6051.
2019-08-01 09:49:41 -05:00
Tim Gross
6c2392ca64 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
78b2ee72aa Fix documentation namespace API property (#6051) 2019-07-31 16:05:48 -05:00
Nick Ethier
3fef9836f1 Merge network namespaces work into master (#6046)
Merge network namespaces work into master
2019-07-31 11:03:17 -04:00
Mahmood Ali
19cdfb621b 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
8262ddf5eb 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
f5a68698c1 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
cf65bbe47c docker: allow configuration of infra image 2019-07-31 01:04:07 -04:00
Nick Ethier
0cdefcf1f3 website: add new networking related client config docs 2019-07-31 01:04:07 -04:00
Michael Schurter
c52edb3287 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
f09d2ef4c5 Update to latest downloadable release 2019-07-30 16:47:40 -05:00
Preetha Appan
7f0acdb341 Fix broken link 2019-07-30 13:37:44 -05:00
Michael Schurter
feae5297e0 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