Commit Graph

294 Commits

Author SHA1 Message Date
Tim Gross
8babbf4f1b doc: spread is inherited from job to group (#6837) 2019-12-11 09:59:26 -05:00
Fredrik Hoem Grelland
641c9b7d7d Update network.html.md (#6782)
There is an undocumented way of mapping a dynamically allocated port to the container. This is applicable in bridge networking ( necessary for consul connect enabled services ) to expose the service *directly*. This is needed when using upstream connect services, but you need to expose the service by normal means. By referencing the current documentation you need to use static ports in order to do so. Introduced in #6189 but undocumented
2019-12-06 06:08:56 -08:00
Hugo Herter
ec9837fe16 docs: port name requires quotes in hcl
When trying to run this example, Nomad v0.10.2 raises the following error:
`Error getting job struct: Error parsing job file from example-ipv6.hcl: error parsing: At 33:22: Unknown token: 27:16 IDENT db`

Adding quotes around the port map `db` fixes the problem and the job works as expected.
2019-12-05 12:37:24 +01:00
Michael Schurter
88a9877a07 docs: document semver constraint operator 2019-11-19 10:26:25 -08:00
Drew Bailey
c87c6415eb DOCS: Spread stanza does not exist on task
Fixes documentation inaccuracy for spread stanza placement. Spreads can
only exist on the top level job struct or within a group.

comment about nil assumption
2019-11-19 08:26:36 -05:00
Charlie Voiselle
d8789ece42 Fix link; discuss meta; lint fixes 2019-11-12 17:32:21 -05:00
Chris Baker
a8e1a21dc8 there was a bad (localhost) URL in the vault docs 2019-11-11 19:24:40 +00:00
Lang Martin
a6f5440440 docs: job volume spec tasks source, not config > source 2019-10-23 15:28:53 -04:00
Michael Schurter
2c2fea21c7 docs: fix links to connect 2019-10-22 15:57:14 -07:00
Michael Schurter
5a6818510e client: expose group network ports in env vars
Fixes #6375

Intentionally omitted IPs prior to 0.10.0 release to minimize changes
and risk.
2019-10-21 12:31:13 -07:00
Michael Schurter
ca57cd2775 connect: upgrade to envoy 1.11.2 and add sha
Append the Docker image sha to the Envoy image to ensure users default
to using the version that Nomad was tested against.
2019-10-18 07:46:53 -07:00
Seth Hoenig
a3dd7d4931 docs: document service tags for connect sidecar 2019-10-17 19:27:04 +00:00
Daniel Dreier
17f659e579 docs: Add missing double-quote (#6418)
The missing quote broke syntax highlighting.
2019-10-02 19:58:10 -05:00
Tim Gross
db99791f5f doc: clarify driver support for netns/connect (#6357) 2019-09-26 14:50:06 -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
Jasmine Dahilig
c346a47b5b add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
Charlie Voiselle
9dc1eb439a Added vault PKI example with separate cert files 2019-08-30 11:24:34 -04:00
Charlie Voiselle
02f72413d1 Small typo fixes 2019-08-28 14:09:42 -04: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
Michael Schurter
83b78cfdf8 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
Mahmood Ali
623ada810d Clarify script checks requiring shell
Closes https://github.com/hashicorp/nomad/issues/5981
2019-07-22 18:34:59 +08:00
Preetha Appan
54be46e7fc revert 0.9.2 super script tags 2019-06-05 20:39:22 +05:30
Mahmood Ali
ab5ec50c57 docs: Tag all 0.9.2 features 2019-05-23 10:51:03 -04:00
Lang Martin
0da3ee574f website more explicit auto_promote instructions 2019-05-22 12:34:57 -04:00
Lang Martin
f4701e69b9 Update website/source/docs/job-specification/update.html.md
Co-Authored-By: Michael Schurter <michael.schurter@gmail.com>
2019-05-22 12:34:57 -04:00
Lang Martin
5ac416a04a website update auto_promote doc 2019-05-22 12:32:08 -04:00
Michael Schurter
890f70a697 Merge pull request #4590 from hashicorp/d-fix-stagger
docs: fix description of update.stagger
2019-05-14 08:36:08 -07:00
Mahmood Ali
13474bca4d update links to use new canonical location 2019-05-10 09:41:19 -04:00
Charlie Voiselle
0f8ed68b6b Typo fixes (#5661)
* Typo fixes
* it's -> its
* plugable -> pluggable
2019-05-08 12:54:44 -04:00
Michael Schurter
06e36982bd docs: fix default restart values 2019-05-06 14:52:44 -07:00
Mahmood Ali
5035db0c49 docs: update s3 urls to use virtual bucket style
In response to https://forums.aws.amazon.com/ann.jspa?annID=6776
2019-05-06 10:39:51 -04:00