Commit Graph

1676 Commits

Author SHA1 Message Date
Tim Gross
a7923c3ed2 doc: clarify command path requirements for exec 2019-09-25 16:37:45 -04:00
ebarriosjr
8fa3695b3f Added documentation for nomad pot driver. (#6369)
Added new external driver for Pot to nomad documentation
2019-09-24 09:22:04 -04:00
Tim Gross
4f687cfc49 client/connect: ConsulProxy LocalServicePort/Address (#6358)
Without a `LocalServicePort`, Connect services will try to use the
mapped port even when delivering traffic locally. A user can override
this behavior by pinning the port value in the `service` stanza but
this prevents us from using the Consul service name to reach the
service.

This commits configures the Consul proxy with its `LocalServicePort`
and `LocalServiceAddress` fields.
2019-09-23 14:30:48 -04:00
Danielle
f232c7258e Merge pull request #6321 from hashicorp/dani/remove-config
Hoist Volume.Config.Source into Volume.Source
2019-09-16 10:12:58 -07:00
Danielle
42cf4f96b5 docs: Mark volume source as required
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-09-16 10:05:50 -07:00
Charlie Voiselle
4c5a16e412 Merge pull request #6234 from hashicorp/docs-template-split-cert-parts
Added vault PKI example with separate cert files
2019-09-16 10:19:19 -04:00
Danielle Lancashire
e195043bff docs: Remove config from volumes 2019-09-13 04:37:59 +02:00
Luiz Aoqui
507e05b114 docs: fix formatting for volume and volume_mount doc pages 2019-09-12 16:13:04 -04:00
Luiz Aoqui
545054ef99 docs: replace source with volume attribute in volume_mount docs 2019-09-12 16:08:18 -04:00
Mahmood Ali
ea14029f3e website: fix typo 2019-09-09 10:26:08 -07:00
Mahmood Ali
c93f975999 Merge pull request #6297 from hashicorp/f-group-services-docs
Start of docs for group level service and network stanza.
2019-09-09 12:03:16 -04:00
Preetha Appan
864789bcb8 Fix formatting 2019-09-08 22:57:55 -05:00
Preetha Appan
effd6cf439 Start of docs for group level service and network stanza. 2019-09-08 22:39:30 -05:00
Michael Schurter
8aeba27278 docs: mention task field for checks
Tweak wording in changelog to match other entries.
2019-09-06 14:13:05 -07:00
Michael Schurter
e6871ef237 docs: add more detail to connect stanzas 2019-09-06 13:09:02 -07:00
Buck Doyle
cf12d547b4 Fix documentation typo (#6285) 2019-09-05 15:04:52 -05:00
Michael Schurter
6c5ec871e9 Merge pull request #6279 from hashicorp/f-connect-docs
Initial placeholder connect docs
2019-09-05 12:29:44 -07:00
Preetha Appan
1f86f29cb4 Add docs for new kind field 2019-09-05 13:31:05 -05:00
Preetha Appan
3b955c389d Initial placeholder connect docs 2019-09-05 13:08:31 -05:00
Michael Schurter
04d5057701 Merge pull request #6211 from hashicorp/f-host-volume-docs
docs: Initial documentation for volume(_mount)
2019-09-05 09:17:40 -07:00
Danielle Lancashire
881d4d2772 volume docs: cleanup 2019-09-04 17:42:19 +02: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
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
Charlie Voiselle
9dc1eb439a Added vault PKI example with separate cert files 2019-08-30 11:24:34 -04: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
Charlie Voiselle
02f72413d1 Small typo fixes 2019-08-28 14:09:42 -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
f2c5884c0b docs: Add client configuration for host_volume 2019-08-26 14:03:28 +02:00
Danielle Lancashire
7a62099715 docs: Initial documentation for volume(_mount) 2019-08-26 13:09:54 +02: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 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
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
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
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