Commit Graph

1567 Commits

Author SHA1 Message Date
Armon Dadgar 3d5ecaafff Address @dadgar feedback 2017-09-11 10:30:59 -07:00
James Rasell 317201367f
Add elsevier-core-engineering/replicator to community page. 2017-09-11 10:52:11 +01:00
Armon Dadgar c234e09d9e website: document ACL bootstrap reset process 2017-09-10 16:18:39 -07:00
Michael Schurter a1a1020e19 Add links and improve verify_https_client callout
The old wording made it sound like verify_https_client=true broke *all*
https health checks.
2017-09-08 17:36:46 -07:00
Michael Schurter 84ae35011e Fix typos and reword future direction
Current plan for the future still requires two server restarts.
2017-09-08 16:56:25 -07:00
Michael Schurter 88f58bf65d Expand tls upgrade guide
- Non-trivial clusters risk rescheduling many if not all of their jobs
  if they don't adjust their heartbeat configs.
- Still needs links
2017-09-07 17:21:18 -07:00
Chelsea Holland Komlo e56da12857 match table names to logged values
docs fixup
2017-09-07 21:57:01 +00:00
Chelsea Holland Komlo 658172935e update telemetry client metrics for new values 2017-09-07 19:02:38 +00:00
Chelsea Holland Komlo 1238efc2a8 improve documentation
move metrics to telemetry; copy to client config
2017-09-06 21:38:06 +00:00
Chelsea Holland Komlo 66fa05405a tagged metrics config options should be on telemetry config
better api example, add telemetry documentation
2017-09-06 15:25:36 +00:00
Chelsea Holland Komlo 11a676c901 add documentation for new HTTP metrics endpoint 2017-09-06 13:51:19 +00:00
Armon Dadgar 32d0df2a36 Address @dadgar feedback 2017-09-04 13:07:44 -07:00
Armon Dadgar 31b39f8a71 website: add missing space 2017-09-04 13:07:44 -07:00
Armon Dadgar dac5ebcc94 website: complete ACL guide 2017-09-04 13:07:44 -07:00
Armon Dadgar f744366f07 website: filling in ACL guide 2017-09-04 13:07:44 -07:00
Armon Dadgar 8956f665a7 website: pointing to ACL guide 2017-09-04 13:07:44 -07:00
Armon Dadgar a712a83f1b website: Document ACL APIs and configuration 2017-09-04 13:07:44 -07:00
Alex Dadgar feace39196 Clarify all_at_once parameter
Fixes https://github.com/hashicorp/nomad/issues/3125
2017-08-29 16:20:28 -07:00
Alex Dadgar c0802f0f1e bump version 2017-08-28 22:30:22 -07:00
Michael Schurter 468c8adfc2 Nomad 0.6.1 2017-08-28 16:26:27 -07:00
Alex Dadgar ac2e20d511 Document new status command
This PR documents the new status and job status command.
2017-08-28 16:05:58 -07:00
Alex Dadgar cff1c5ca08 Merge pull request #3107 from hashicorp/b-migrate-context-all
All context should use string context "all"
2017-08-28 12:38:54 -07:00
Alex Dadgar 88908410ef Merge pull request #3096 from hashicorp/d-all-allocs
Describe the all parameter when listing job allocs
2017-08-28 12:25:24 -07:00
Chelsea Holland Komlo 6243690899 migrate all context 2017-08-28 05:29:38 +00:00
Chelsea Komlo 391bc77e24 Merge pull request #3097 from hashicorp/d-search-http-documentation
Add HTTP documentation for search api
2017-08-25 13:27:26 -04:00
Chelsea Holland Komlo 83cc71aed9 alignment and fixups from code review 2017-08-25 14:12:23 +00:00
Chelsea Holland Komlo f8e2a4c54c add HTTP documentation for search api 2017-08-25 00:14:04 +00:00
Alex Dadgar cf09c2af24 Fix confusing batch job example 2017-08-24 17:12:43 -07:00
Alex Dadgar 8eb3db6e98 Describe the all parameter when listing job allocs
Fixes https://github.com/hashicorp/nomad/issues/3092
2017-08-24 17:01:24 -07:00
Alex Dadgar fd7d614ae4 Handle interfaces that only have link-local addrs
This PR changes the fingerprint handling of network interfaces that only
contain link local addresses. The new behavior is to prefer globally
routable addresses and if none are detected, to fall back to link local
addresses if the operator hasn't disallowed it. This gives us pre 0.6
behavior for interfaces with only link local addresses but 0.6+ behavior
for IPv6 interfaces that will always have a link-local address.

Fixes https://github.com/hashicorp/nomad/issues/3005

/cc diptanuc
2017-08-23 15:32:22 -07:00
Alex Dadgar 4fd4e5c6c9 Merge pull request #3077 from hashicorp/f-docker-mounts
Clean up docker mounts
2017-08-23 14:17:10 -07:00
Alex Dadgar 876c0e4cc7 clarify deployment api docs 2017-08-23 10:35:29 -07:00
Nicolae Vlădescu ee56faec04 Fix typo Automtic -> Automatic 2017-08-23 17:09:47 +03:00
Alex Dadgar 653733e093 Clean up docker mounts 2017-08-22 14:12:44 -07:00
Clint Armstrong 3cdcbc5c6b add docs for mount 2017-08-21 15:32:44 -04:00
Rob Genova f6b072dd8e add bold formatting 2017-08-19 00:14:13 +00:00
Rob Genova ee56124af3 reword for clarity; note that data is not replicated between regions 2017-08-19 00:13:26 +00:00
Rob Genova 021bb2213d Reword long-ish sentence. 2017-08-18 23:18:20 +00:00
Rob Genova 839b0e1a36 Clarify that it is not required to set a Vault token on the clients. 2017-08-18 23:17:20 +00:00
Rob Genova cbdb5960e9 Make it explicit that data is not replicated between regions. 2017-08-18 23:16:39 +00:00
Michael Schurter b1fa005656 Document check header and method 2017-08-17 16:49:14 -07:00
Michael Schurter 8b0fe6b2fd Fix broken link 2017-08-17 16:39:19 -07:00
Michael Schurter 188e89c77f Add ShutdownDelay to JSON Job docs 2017-08-17 11:30:29 -07:00
Michael Schurter d529b422b2 Add optional shutdown delay to tasks
Fixes #2441

Defaults to 0 (no delay) for backward compat and because this feature
should be opt-in.
2017-08-16 17:59:46 -07:00
jkburges 5f697eae06 Match example update configuration to comment
"two-at-a-time" == `max_parallel = 2`
2017-08-15 11:45:28 +10:00
Hynek Schlawack a6326c92d5 Off by one! 2017-08-12 16:06:20 +02:00
Michael Schurter 28c79ff658 Merge pull request #2923 from hashicorp/d-tls-guide
TLS Guide
2017-08-11 21:03:52 -07:00
Michael Schurter a8ec614d40 Rename guide from tls to securing-nomad 2017-08-11 21:02:52 -07:00
Michael Schurter e488f7b287 Add openssl rand example; reword intermediate CAs
Thanks @jvoorhis!
2017-08-11 20:20:11 -07:00
Alex Dadgar 0145f26315 Merge pull request #3009 from nicolaevladescu/master
Fix documentation bug on json jobs
2017-08-11 10:29:11 -07:00
Alex Dadgar eff03143bc Update docker.html.md 2017-08-11 10:12:22 -07:00
Jan De Cooman 96a5015665 added a newline 2017-08-11 11:53:24 +02:00
Nicolae Vlădescu cb46b6ca91 Fix navigation highlight for JSON Jobs 2017-08-11 11:37:40 +03:00
Nicolae Vlădescu 8c8cd3b312 Fix documentation bug
Fix documentation bug: distinct_host -> distinct_hosts
2017-08-11 11:29:53 +03:00
Jan De Cooman 5cb1884198 removed empty line 2017-08-10 11:06:26 +02:00
Jan De Cooman 804fc0d06f added dnsoptions to the docker driver 2017-08-09 13:30:06 +02:00
Alex Dadgar 8973c01315 Merge pull request #2980 from hashicorp/b-doc-missing-node-allocations
Re-added Allocations documentation
2017-08-08 10:23:02 -07:00
James Rasell 07e3bed923 Update job.html read most recent deployment sample
The sample request incorrectly used `https://nomad.rocks/v1/job/my-job/deployments` which listed all deployments for the specified job. The sample request has therefore been updated to use the correct endpoint which returns only the jobs most recent deployment.
2017-08-08 10:47:24 +01:00
Alex Dadgar 79d25b7db9 Merge pull request #2947 from hashicorp/f-vault-grace
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Charlie Voiselle da14a95051 Added code block styling 2017-08-07 17:34:18 -04:00
Charlie Voiselle 37ec2e3f54 Re-added Allocations documentation
In a content reorganization, the allocations endpoint documentation was removed.  This just brings it back in and updates the output to match v0.6.0 output
2017-08-07 17:28:06 -04:00
Alex Dadgar fb857ceca9 Merge pull request #2974 from nak3/fix-monitoring-docs
docs: fix tiny errors in monitoring spark app
2017-08-07 11:15:02 -07:00
Alex Dadgar 2470faccb3 Merge pull request #2975 from nak3/fix-link-hdfs
docs: fix invalid links for hdfs examples
2017-08-07 11:14:29 -07:00
Alex Dadgar a5c5b54fed Update requirements.html.md
Fixes https://github.com/hashicorp/nomad/issues/2976
2017-08-07 09:58:02 -07:00
Kenjiro Nakayama 8634344d9e docs: fix invalid link for hdfs examples 2017-08-06 14:24:51 +09:00
Kenjiro Nakayama c48a08b7b9 docs: fix tiny errors in monitoring spark app 2017-08-06 14:22:56 +09:00
Alex Dadgar 9476d0b210 Small improvements to docs
This PR fixes an incorrect placement of the update stanza in the task
and also links from the env stanza into an example of using the template
block to generate dynamic environment variables.
2017-08-04 16:14:41 -07:00
Michael Schurter ce8e7ec445 Merge pull request #2968 from hashicorp/d-task-ports
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Michael Schurter cdbf729386 Document <task> network env vars
Looks like I accidently dropped them when combining env var listings in
PR #2709
2017-08-04 13:05:05 -07:00
Seth Rutner efee7fb635 Update revert.html.md.erb
wrong command
2017-08-04 11:06:04 -07:00
Jeremy Voorhis 8e029eefde Spelling and grammar fixes for bootstrap guide. 2017-08-03 20:45:44 -07:00
Seth Vargo c139711b38
Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 15:03:37 -04:00
Jonathan Cross c5b107d916 fix wording 2017-08-02 13:54:49 -04:00
Jonathan Cross 65b4141f91 add third party client library link for python 2017-08-02 13:51:37 -04:00
Kate Taggart 99455679cf fix typo. 2017-08-02 00:39:08 -07:00
Michael Schurter 170a5a1ede Add $ prefix to shell examples 2017-08-01 17:37:13 -07:00
Michael Schurter af237a4273 Reflow 2017-08-01 17:13:37 -07:00
Michael Schurter cc1b3ccf1f Sort filenames 2017-08-01 17:06:56 -07:00
Michael Schurter d40fc76965 Missed a mention of 127.0.0.1 as a SAN 2017-08-01 16:50:37 -07:00
Michael Schurter 930dc9ef38 Lots of fixes from @sethvargo
* hclfmt the world
  * 2 space indent
  * make every example well formed with stanzas and comments
* jsonfmt too
* mdfmt manually
  * _ instead of *
  * no [links][], only [links][links]
* ordered lists instead of bullets when possible
* lots of wording fixes
* de-contractionization
* add 127.0.0.1 to SANs
* -1 on intentional errors
* -1 on first person
2017-08-01 15:40:36 -07:00
Alex Dadgar 80f41d2389 Merge pull request #2931 from zsluedem/master
add job creating json sample in jobs api doc
2017-08-01 14:21:45 -07:00
Alex Dadgar 04a124f4f8 Merge pull request #2945 from hashicorp/d-rolling
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar 70f265070b Merge pull request #2946 from hashicorp/f-doc-job-anti-affinity-reflow
Added a sentence about job anti-affinity; Reflowed
2017-08-01 14:21:03 -07:00
Alex Dadgar 9ad1f3ac4f Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar 067a638478 Allow template to set Vault grace
This PR allows a template to specify the Vault grace duration.

Fixes https://github.com/hashicorp/nomad/issues/2922
2017-08-01 14:14:08 -07:00
Charlie Voiselle 0462c8534f Review changes 2017-08-01 13:58:18 -04:00
Alex Dadgar 0be23d5858 Merge pull request #2940 from hashicorp/d-purge
Document Purge parameter on deregister request
2017-08-01 10:55:52 -07:00
Charlie Voiselle b9791c445e Added sentence about job anti-affinity; Reflowed
This will create a concrete mention of job anti-affminity in the Nomad documentation. The only place we discuss it currently is in a similar sentence on the website itself.  I borrowed liberally from that sentence in crafting this line.
2017-08-01 13:13:42 -04:00
Charlie Voiselle 408b0f057d Merge branch 'master' into b-cv-add-job-anti-affinity-sentence 2017-08-01 12:35:33 -04:00
Alex Dadgar e0b48831b2 Merge pull request #2867 from hashicorp/b-docs-vi-more-orphan-info
More why for the -orphan flag
2017-08-01 09:20:02 -07:00
Charlie Voiselle 8866f344e5 More review fixes 2017-08-01 12:05:28 -04:00
Alex Dadgar 47379d5eea Document update stanza for system scheduler.
This PR adds a note to make it clear the limits of the system
schedulers update stanza.
2017-08-01 08:51:26 -07:00
Alex Dadgar 2650bb1d12 Distinct Property supports arbitrary limit
This PR enhances the distinct_property constraint such that a limit can
be specified in the RTarget/value parameter. This allows constraints
such as:

```
constraint {
  distinct_property = "${meta.rack}"
  value = "2"
}
```

This restricts any given rack from running more than 2 allocations from
the task group.

Fixes https://github.com/hashicorp/nomad/issues/1146
2017-07-31 16:52:13 -07:00
Michael Schurter 9a5c62ab18 Mention xz support 2017-07-31 15:53:05 -07:00
Alex Dadgar 08e98e1de4 Document Purge parameter on deregister request
This PR documents the purge parameter when deregistering a job.
2017-07-31 14:03:35 -07:00
Alex Dadgar 3c6a92bcba Merge pull request #2926 from hashicorp/d-api-json
Example JSON is submitable
2017-07-31 11:26:25 -07:00
Michael Schurter 6243c9eb86 Merge pull request #2883 from kmalec/add-support-for-readonly-mount
rkt driver support for read-only volumes mounts
2017-07-31 10:58:22 -07:00
Charlie Voiselle ebf56fd9ad Added a note about the job anti-affinity rule
We only mention job anti-affinity on the main webpage. This sentence is borrowed from there with minor tweaks to at least introduce it in the docs corpus
2017-07-30 15:18:21 -05:00
Will 489d635de2 add job creating json sample in jobs api doc 2017-07-29 09:04:30 +08:00
Charlie Voiselle 1af9d2536e Addressed Review Feedback 2017-07-28 17:42:24 -04:00