Commit Graph

2872 Commits

Author SHA1 Message Date
Drew Bailey e44a66d7fc
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 bc7ce08dcf
a few more redirects 2019-11-14 16:38:24 -05:00
Charlie Voiselle 40e0305958
Update redirects.txt 2019-11-14 16:29:06 -05:00
Drew Bailey 9b63828658
serverID to target remote leader or server
handle the case where we request a server-id which is this current server

update docs, error on node and server id params

more accurate names for tests

use shared no leader err, formatting

rm bad comment

remove redundant variable
2019-11-14 10:07:35 -05:00
Charlie Voiselle 8b6ff61372 Fix link; discuss meta; lint fixes 2019-11-12 17:32:21 -05:00
Charlie Voiselle 835831a3d8 Added service wrapper code (#6220)
This is the basic code to add the Windows Service Manager hooks to Nomad.

Includes vendoring golang.org/x/sys/windows/svc and added Docs:
* guide for installing as a windows service.
* configuration for logging to file from PR #6429
2019-11-11 15:16:07 -05:00
Chris Baker 6f75cc6c5b there was a bad (localhost) URL in the vault docs 2019-11-11 19:24:40 +00:00
Charlie Voiselle c0ea43bae7 linter fixes 2019-11-11 10:04:17 -05:00
Tim Gross 59c043a1e5
doc: add missing fields to LXC driver documentation (#6640)
The LXC task driver documentation is missing for many of the optional
task config fields, and for the recently added `gc` field on the
driver configuration.
2019-11-11 08:51:30 -05:00
Carlos Neira b935bcfdd7 Added firecracker-task-driver to community docs (#6654)
* Added firecracker-task-driver to community docs

Signed-off-by: Carlos Neira <cneirabustos@gmail.com>
2019-11-11 08:50:27 -05:00
RJ Spiker 6740bbe828 website - add -moz-osx-font-smoothing for smooth firefox osx fonts 2019-11-07 12:29:21 -07:00
Charlie Voiselle 404aa6837e
Merge pull request #6596 from rjspiker/rj.fonts
website - font and brand update
2019-11-06 13:01:58 -05:00
Drew Bailey 6fd1901ef0
fix long lines, add possible values 2019-11-05 14:24:52 -05:00
Drew Bailey 8e1fa5ca06
agent api docs for monitor
update CHANGELOG
2019-11-05 13:53:35 -05:00
RJ Spiker d4d222383d feedback updates and some style cleanup 2019-11-04 14:31:54 -07:00
Michael Schurter 05e9930e2a docs: bump website to Nomad 0.10.1 2019-11-04 12:01:43 -08:00
Tim Gross 66a34a43cb
docs: note bridge-nf-call-iptables requirement for Connect (#6607)
The Connect integration uses bridge networking and iptables to send
traffic between containers, but the RedHat family of Linux distros
sets some of the kernel tunables this requires to be optimized for VMs
rather than containers. We can document this behavior for now and
consider better operator feedback for pre-flight checking later.
2019-11-01 14:41:21 -04:00
RJ Spiker 8f254b6e14 website - font and brand update 2019-10-30 16:17:54 -06:00
Charlie Voiselle 946af42906
Merge pull request #6532 from hashicorp/docs-fixup-command
Fixup for command section of website
2019-10-30 10:32:37 -04:00
Michael Schurter ab3c215b3b docs: update references 2019-10-29 15:38:48 -07:00
Omar Khawaja cb6cfd61c1
take out port_map config for traefik and haproxy and add health check to haproxy (#6565) 2019-10-25 13:52:07 -04:00
Omar Khawaja 4ed5380bbd
add traefik lb guide (#6551) 2019-10-25 10:46:09 -04:00
Mahmood Ali 548ef4a15e
Merge pull request #6547 from hashicorp/b-docker-task-user
docs: Docker driver supports task user option
2019-10-25 09:22:28 -04:00
Mahmood Ali fd5d4c1657 fix grammar 2019-10-25 09:22:03 -04:00
Omar Khawaja 3c1b48e9d9
fix typos (#6552) 2019-10-25 01:15:22 -04:00
Mahmood Ali fe14993582 docs: Docker driver supports task user option
Also, add a test case.
2019-10-24 14:00:37 -04:00
Omar Khawaja 16615fe9ab
Nomad HAProxy load balancing guide (#6534)
* add nginx to load balancing nav menu and fix bullets

* fill out nginx lb guide

* formatting

* change Nginx to NGINX

* add step to verify load balancer config

* update docker image and web app output

* add HAProxy lb guide

* format haproxy config

* add haproxy stats page with screenshot

* add note about external load balancer

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* add port mapping an static port for haproxy ui + bullet changes

* remove extra spaces

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>

* Update website/source/guides/load-balancing/haproxy.html.md

Co-Authored-By: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2019-10-24 13:02:07 -04:00
Omar Khawaja f4d78ce0ff
Nomad NGINX Load Balancing Guide (#6529)
* add nginx to load balancing nav menu and fix bullets

* fill out nginx lb guide

* formatting

* change Nginx to NGINX

* add step to verify load balancer config

* update docker image and web app output

* change Nginx to NGINX in main load balancing page

* modify change signal to SIGHUP and add else condition in template stanza to prevent nginx from crashing when no services are available to load balance

* add note about external load balancer

* clarifications and link to reference architecture
2019-10-24 11:48:37 -04:00
Lang Martin 75393fad41 docs: job volume spec tasks source, not config > source 2019-10-23 15:28:53 -04:00
Michael Schurter 42e21ade39
Merge pull request #6533 from hashicorp/docs-fixup-connect
docs: fix links to connect
2019-10-23 08:28:42 -07:00
Charlie Voiselle 86455d3bb2
Merge pull request #6526 from hashicorp/docs-add-req-vers
Added version requirement to new feature guides
2019-10-23 10:15:43 -04:00
Michael Schurter 0fd36d1e13 docs: fix links to connect 2019-10-22 15:57:14 -07:00
Charlie Voiselle 870e3f58a6 Fixup for command section of website
* changed list indicator from * -> -
* moved in-text links to reference links
* made commands `plaintext`
* made command examples `console`
* rewrapped text
2019-10-22 17:42:08 -04:00
Charlie Voiselle 5eacb3b844 Added alert to mainpage for new 0.10 2019-10-22 16:36:48 -04:00
Michael Schurter f28272d5a4 docs: remove link to 0.10.0-rc1 2019-10-22 09:34:08 -07:00
Charlie Voiselle 6336fe8c33
Update website/source/guides/integrations/consul-connect/index.html.md
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-10-22 12:00:59 -04:00
Charlie Voiselle 6f112640ac Added version requirement to new feature guides 2019-10-22 11:43:17 -04:00
Michael Schurter fdd067de58 docs: bump to Nomad 0.10.0 2019-10-22 07:35:37 -07:00
Michael Schurter 8634533e82 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 ee5ea3ecc7 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 9f8a25b81e docs: document service tags for connect sidecar 2019-10-17 19:27:04 +00:00
Alvin Huang fd93d9cfcf
remove check for relative url validation (#6504) 2019-10-16 17:50:40 -04:00
Omar Khawaja aa8524bbae
Getting started learn redirect (#6460)
* redirect getting started section to learn

* formatting

* move redirects.txt to source directory
2019-10-16 16:17:29 -04:00
Charlie Voiselle ae8bfce399
Merge pull request #6434 from hashicorp/docs-add-grpc-info
docs: Added grpc info; small style fixes to connect guide
2019-10-16 14:18:20 -04:00
Preetha 79fb1c1682
Merge pull request #6453 from ogadaki/patch-1
fix typo in HCL code
2019-10-16 11:16:53 -05:00
Preetha 988afc1859
Merge pull request #6491 from hashicorp/support-external-redirects
Support external redirects for website
2019-10-16 11:14:22 -05:00
Spencer Owen 2459df5d98 Fix grammar (#6486) 2019-10-15 15:04:57 -05:00
Alvin Huang 89e5b6f299 upload external and relative redirects to two dictionaries 2019-10-14 16:55:14 -04:00
Alvin Huang 465d9da8c7 repoint deploy script to new redirects file location 2019-10-12 23:17:19 -04:00
Alvin Huang 18dc2ed8d7 generate a _redirects for netlify previews 2019-10-12 23:17:03 -04:00
Alvin Huang a89b2f037d move redirects.txt into source/ for netlify previews 2019-10-12 23:16:23 -04:00
Michael Lange 2949a38f7c
Merge pull request #6396 from hashicorp/d-updated-ui-guides
Docs: Updated UI guides
2019-10-11 10:33:37 -07:00
Luiz Aoqui 488a2f6f3a
docs: fix ACL `prefix` param documentation 2019-10-11 10:28:44 -04:00
Danielle Lancashire 4056899708
docs: Update stateful workloads guide to reflect rc-1 config changes 2019-10-11 13:45:28 +02:00
Michael Schurter 7ece26cf8a
Merge pull request #6469 from hashicorp/docs-0100-rc1
docs: 0.10.0-beta1 -> 0.10.0-rc1
2019-10-10 13:36:25 -07:00
Michael Schurter 9d85df26dd docs: 0.10.0-beta1 -> 0.10.0-rc1 2019-10-10 13:09:19 -07:00
Michael Schurter ce09070176
Merge pull request #6465 from hashicorp/docs-nobeta
docs: remove beta flag from connect
2019-10-10 13:05:45 -07:00
Michael Schurter a32aa7c819 docs: remove beta flag from connect 2019-10-10 10:31:06 -07:00
Michael Schurter dd7b9adcf8 docs: drop raft from 0.10.0 upgrade guide
Unforutunately we are not changing the default for 0.10.0 and the 0.8
upgrade docs are more detailed when it comes to manually updating your
version.
2019-10-10 10:22:36 -07:00
Emamul Andalib fcd70b91ac Update consul.html.md (#6456)
"you may have have" to "you may have".
2019-10-09 12:35:16 -04:00
Nicolas Decoster 85ece246f5
fix typo in HCL code
Code contains `resource` instead of `resources` (plural).
2019-10-09 15:13:46 +02:00
Luiz Aoqui 3be8364636
Merge pull request #6444 from hashicorp/docs-add-prefix-param-to-acl-endpoints
docs: improve documentation for `prefix` param on API endpoints
2019-10-08 19:08:27 -04:00
Luiz Aoqui 521c0ad2a5
docs: clarify `prefix` API param requirements 2019-10-08 18:11:56 -04:00
Preetha e0b4ebe0b4
Merge pull request #6439 from hashicorp/f-docs-clarify-job-gc-interval
clarify version for new gc config in server stanza
2019-10-08 16:43:03 -05:00
Chris Baker cb11b77724
Merge pull request #6428 from Norbinsh/master
Docs: remove small duplication
2019-10-08 16:40:04 -05:00
Luiz Aoqui b9ef978641
docs: add missing `prefix` param to the ACL API endpoints 2019-10-08 14:13:36 -04:00
Mahmood Ali 1563c64bae website: Publish release 0.9.6 2019-10-08 12:48:05 -04:00
Preetha Appan 350e7f6952 clarify version for new gc config in server stanza 2019-10-08 10:08:27 -05:00
Charlie Voiselle 9e8d9c2c8c Updated Host Volumes guide
Added read_only to highlight them
Style updates
2019-10-07 14:17:30 -04:00
Charlie Voiselle b777bc98c7 Added grpc info; small style fixes 2019-10-07 10:59:52 -04:00
Norbinsh 7e97823ed8 Docs: remove small duplication 2019-10-05 13:00:32 +03:00
Daniel Dreier 5d7b06e6ee docs: Add missing double-quote (#6418)
The missing quote broke syntax highlighting.
2019-10-02 19:58:10 -05:00
Michael Lange 9f671dda43 Copy changes from review 2019-10-02 16:54:38 -07:00
Omar Khawaja 073fbb2daa
specify token given to consul template as periodic and orphan (#6148) 2019-10-02 12:52:10 -04:00
Preetha 0bf4a2ea38
Merge pull request #6404 from hashicorp/docs-nomad-index
clarify index starting value for blocking queries
2019-09-30 11:41:20 -05:00
Preetha Appan 1ca3fcca35 clarify index starting value for blocking queries 2019-09-30 09:46:42 -05:00
Shantanu Gadgil 05573a255c
clarify rhel/centos and beta1
Specify RHEL7, RHEL8, CentOS7, CentOS8
Specify beta1 for 0.10 (beta2 coming soon? 😉 )
2019-09-29 11:40:23 +05:30
Michael Lange 2b945370aa Add missing comma to fix the code-in-heading selectors 2019-09-27 19:27:39 -07:00
Michael Lange 6e061201f2 Screenshots for the securing ui guide 2019-09-27 19:27:38 -07:00
Michael Lange 089cadde3a Screenshots for the inspecting the cluster guide 2019-09-27 19:27:37 -07:00
Michael Lange 9c3b212b39 Screenshots for the operating a job guide 2019-09-27 13:21:06 -07:00
Michael Lange fd22b4a1dc Screenshots for the job submit guide 2019-09-27 13:21:05 -07:00
Michael Lange 31ec898b15 Image for the access the page 2019-09-27 13:21:04 -07:00
Michael Lange d9d72c3296 Swap out UI guide images 2019-09-27 13:21:03 -07:00
Michael Lange 3b90e82a2c Copy for the securing guide 2019-09-27 13:21:01 -07:00
Michael Lange 3e39d3872a Content for the inspecting the cluster page 2019-09-27 13:21:00 -07:00
Michael Lange 5d9c2f35a3 Content for the operating a job guide 2019-09-27 13:21:00 -07:00
Michael Lange 0b4c65b488 Edits and links for the submitting a job guide 2019-09-27 13:20:59 -07:00
Michael Lange d7261e20a8 Content for the submitting a job guide 2019-09-27 13:20:58 -07:00
Michael Lange b3cd3b095a Format line length 2019-09-27 13:20:57 -07:00
Michael Lange 692095996f New UI guides structure 2019-09-27 13:20:56 -07:00
Tim Gross 51438acbb0
doc: clarify driver support for netns/connect (#6357) 2019-09-26 14:50:06 -04:00
Lang Martin 0648402150
Merge pull request #6373 from hashicorp/b-raft-proto-upgrade
raft protocol defaults to version 2
2019-09-26 14:33:09 -04:00
Lang Martin 3b4f11b8ac docs: autopilot guide additional raft proto upgrade documentation 2019-09-26 13:59:59 -04:00
Tim Gross 9703d3de3a doc: clarify command path requirements for exec 2019-09-25 16:37:45 -04:00
Lang Martin fb41dd86ba default raft protocol v2 2019-09-24 14:37:55 -04:00
Peter McAtominey de133d883f
command: add -tls-server-name flag 2019-09-24 09:20:41 -07:00
ebarriosjr 4dadfc6d29 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 cd9c23617f
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
John Pellman fce0a2565d
Corrected minor typo ("Eslevier" --> "Elsevier") 2019-09-18 11:14:57 -04:00
Danielle ec3ecdecfc
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 acf6580bb4
docs: Mark `volume` `source` as required
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-09-16 10:05:50 -07:00
Charlie Voiselle 05f326cd57
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 e76e3ba3a0
docs: Remove config from volumes 2019-09-13 04:37:59 +02:00
Kris Hicks a211da731d Fix upstreams docs link 2019-09-12 15:12:26 -07:00
Luiz Aoqui 8dd39333c9 docs: fix formatting for `volume` and `volume_mount` doc pages 2019-09-12 16:13:04 -04:00
Luiz Aoqui 16d494344f docs: replace `source` with `volume` attribute in `volume_mount` docs 2019-09-12 16:08:18 -04:00
Charlie Voiselle 3e7df4c9f6
Typo fix 2019-09-11 09:13:28 -04:00
Preetha Appan 46ebe18824 Update version 2019-09-09 14:58:40 -07:00
Tim Gross 105c7cdee1 upgrade notes for 0.9.5 2019-09-09 14:58:25 -07:00
Mahmood Ali 934937f252 website: document Quota field in ns payloads 2019-09-09 13:48:58 -07:00
Mahmood Ali d3ffc1afa2 website: fix typo 2019-09-09 10:26:08 -07:00
Buck Doyle 29b5efd90c
Convert resources page to Markdown (#6301)
The auto-generation of TOC wasn’t working because the
“auto-linking header tags” described here doesn’t work
if the file isn’t Markdown:
https://github.com/hashicorp/middleman-hashicorp#auto-linking-header-tags
2019-09-09 12:05:16 -05:00
Mahmood Ali 2905807b3a docs: mark consul connect integration as beta 2019-09-09 09:59:55 -07:00
Mahmood Ali 95ded0f5ae website: Link to 0.10.0-beta1 release 2019-09-09 09:05:06 -07:00
Mahmood Ali f94b35de8e
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
Mahmood Ali 09f0efca1e
Merge pull request #6295 from hashicorp/docs-service-tweaks
docs: mention task field for checks
2019-09-09 12:02:19 -04:00
Charlie Voiselle 644f645721 Added alloc_exec and alloc_node_exec capabilities
These were added in 4f7bd68f5c
2019-09-09 11:11:56 -04:00
Preetha Appan cea4f9eb5a
Fix formatting 2019-09-08 22:57:55 -05:00
Preetha Appan 3367da4d1f
Start of docs for group level service and network stanza. 2019-09-08 22:39:30 -05:00
Michael Schurter ab10ffef76 docs: mention task field for checks
Tweak wording in changelog to match other entries.
2019-09-06 14:13:05 -07:00
Michael Schurter 37a1b8ed2c
Merge pull request #6287 from hashicorp/docs-connect-updates
docs: add more detail to connect stanzas
2019-09-06 13:52:17 -07:00
Michael Schurter 6930bb8c43 docs: add more detail to connect stanzas 2019-09-06 13:09:02 -07:00
Danielle c2b64483ce
Merge pull request #6288 from hashicorp/volume-acl-docs
docs: Add host volume acl docs
2019-09-06 15:04:07 +02:00
Danielle 25b7d58b37
Apply suggestions from code review
acl_docs: Stylistic improvements

Co-Authored-By: Tim Gross <tim@0x74696d.com>
2019-09-06 15:03:38 +02:00
Luiz Aoqui 17ba1e9e20 fix host volume path 2019-09-06 08:44:57 -04:00
Danielle Lancashire 4b6e03b8e9
docs: Add host volume acl docs 2019-09-06 14:02:19 +02:00
Jasmine Dahilig 3d9d4d0522
upgrade guide for 0.10.0 (#6266) 2019-09-05 13:27:37 -07:00
Buck Doyle aa40833194
Fix documentation typo (#6285) 2019-09-05 15:04:52 -05:00
Michael Schurter 2ce1b28b33
Merge pull request #6279 from hashicorp/f-connect-docs
Initial placeholder connect docs
2019-09-05 12:29:44 -07:00
Preetha Appan 1cb045100d
Add docs for new kind field 2019-09-05 13:31:05 -05:00
Preetha Appan 6ed9e07941
Initial placeholder connect docs 2019-09-05 13:08:31 -05:00
Charlie Voiselle 967c80005d docs: Add Persistent Workload using Host Volumes guide (#6263)
* Added Persistent Workload guide using Host Volumes

* Update website/source/guides/stateful-workloads/stateful-workloads.html.md

Co-Authored-By: Danielle <dani@hashicorp.com>

* fix client config and job spec formatting

* fix typo in description

* fix navigation for both stateful workloads guides

* show output from nomad node status to verify host volumes

* Add value prop info; info about HA

From feedback, added more information about the value proposition for
host volumes (h/t @rkettelerij), and corrected an orphaned bit from
the original guide this one was created from.
2019-09-05 12:33:10 -04:00
Omar Khawaja 43363f9337
Consul connect guide update (#6268)
* formatting paragraphs

* remove reference to consul 1.6-beta and update nomad agent command

* remove tech preview status and update limitations

* remove beta tag in navigation

* add screenshot of count dashboard

* update example summary and remove redis references

* capitalize Consul

* minor corrections

* hcl formatting
* demo is on localhost not host ip
* clarify consul on PATH

* mention variable interpolation limitation
2019-09-05 12:29:47 -04:00
Omar Khawaja 77464b700b fix typo 2019-09-05 12:20:34 -04:00
Michael Schurter 1a69911237
Merge pull request #6211 from hashicorp/f-host-volume-docs
docs: Initial documentation for volume(_mount)
2019-09-05 09:17:40 -07:00
Omar Khawaja 6f50f0eb6f change localhost to host ip 2019-09-05 12:08:55 -04:00
Michael Schurter a59e8ca4a6 mention variable interpolation limitation 2019-09-05 08:58:24 -07:00
Michael Schurter 58f13da372 minor corrections
* hcl formatting
* demo is on localhost not host ip
* clarify consul on PATH
2019-09-05 08:56:39 -07:00
Omar Khawaja e866e92ff4 capitalize Consul 2019-09-04 20:56:38 -04:00
Omar Khawaja deb2a250f0 update example summary and remove redis references 2019-09-04 19:58:47 -04:00
Omar Khawaja ea7eb660ae add screenshot of count dashboard 2019-09-04 18:00:49 -04:00
Omar Khawaja f8e010515b remove beta tag in navigation 2019-09-04 17:48:23 -04:00
Omar Khawaja 1e904a28a9 remove tech preview status and update limitations 2019-09-04 17:46:02 -04:00
Omar Khawaja a98fe3c9ca remove reference to consul 1.6-beta and update nomad agent command 2019-09-04 17:30:45 -04:00
Omar Khawaja 4596f00d40 formatting paragraphs 2019-09-04 17:25:06 -04:00
Danielle Lancashire dece305aa0
volume docs: cleanup 2019-09-04 17:42:19 +02:00
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
Danielle c798d21f23
Merge pull request #5801 from jrasell/patch-5
Fix incorrect link to the sample Grafana dashboard
2019-06-13 16:39:23 +02:00
Nick Ethier 1b7fa4fe29
Optional Consul service tags for nomad server and agent services (#5706)
Optional Consul service tags for nomad server and agent services
2019-06-13 09:00:35 -04:00
Mahmood Ali 1ead8b60d2 update website to link to Nomad 0.9.3 2019-06-12 14:56:18 -04:00