Commit Graph

1416 Commits

Author SHA1 Message Date
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
Alex Dadgar a883b325ff Example JSON is submitable
This PR makes the example JSON job submitable via the HTTP API.
2017-07-28 09:02:15 -07:00
Michael Schurter 78e2fc603c Remove old example tls config
It didn't work in cfssl 1.2 anyway (required building from cfssl
master).
2017-07-27 16:03:38 -07:00
Michael Schurter b30f2aa5fb Add serf section and clean it up 2017-07-27 15:32:02 -07:00
Michael Schurter a11244ac62 Switch to cfssl and get everything working 2017-07-27 14:47:43 -07:00
Michael Schurter ac7009085b Improve verify_https_clients wording 2017-07-27 10:38:44 -07:00
Michael Schurter fcba6a7975 Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Jon Benson 52d849981b Add word 2017-07-26 19:33:03 -07:00
Jon Benson e386ef9fa3 Fix typo 2017-07-26 19:24:23 -07:00
Michael Schurter 36ec2793b6 WIP tls guide 2017-07-26 17:25:28 -07:00
Seth Vargo d23117d357
Fix broken links 2017-07-26 18:43:51 -04:00
Alex Dadgar 7611fab2c5 Update operating a job, upgrade guide (#2913)
* Update operating a job, upgrade guide

This PR updates the guide for updating a job to reflect the changes in
Nomad 0.6

* Feedback changes

* Feedback

* Feedback
2017-07-26 15:06:17 -07:00
Kate Taggart 0f92cf9058 Getting Started guide updates for 0.6.0 (#2909)
* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* further information in job status added in 0.6

* update  output when changing redis version

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* further information in job status added in 0.6

* evaluation  status for deployment in 0.6

* updating client demo config to match website

* update output of status for cluster

* update  output when changing redis version

* update terminal output of adding more redis instances.

* small update so id numbers are consistent in example

* update ouput for , also stitch up ids from previous lines to match

* add  to output when starting server and clients

* add  to  output

* remove text showing large parts of example.nomad file

* Small fixes to stopping and updating a job
2017-07-26 14:24:50 -07:00
Michael Schurter f660d79514 Missing period 2017-07-25 17:37:09 -07:00
Alex Dadgar e0beda704a New commands docs and small fixes
This PR adds the command documentations and has small CLI fixes.
2017-07-25 17:37:09 -07:00
Alex Dadgar 797fc81012 validate 2017-07-25 17:37:09 -07:00
Alex Dadgar a271b8fc22 inspect 2017-07-25 17:37:09 -07:00
Alex Dadgar 5a2578eefe alloc-status 2017-07-25 17:37:09 -07:00
Alex Dadgar 08ce8b85f4 Status command 2017-07-25 17:34:43 -07:00
Alex Dadgar f7985535d4 Merge pull request #2911 from hashicorp/d-api
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Alex Dadgar fac2567521 Update API and JSON Job Documentation
This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
2017-07-25 17:18:15 -07:00
Michael Schurter 2aab3b5dc1 Explain change in default advertise behavior 2017-07-25 17:15:39 -07:00
Michael Schurter 07436d4b03 Merge pull request #2898 from hashicorp/d-config-tasks-env
Mention templates & env vars in configuring tasks
2017-07-25 16:54:55 -07:00
Michael Schurter ca5272dece Mention node attrs 2017-07-25 16:53:10 -07:00
Michael Schurter 6d45210b9a Merge pull request #2895 from hashicorp/d-env-example
Use better example for env template
2017-07-25 14:58:19 -07:00
Seth Vargo a293b81b2b
Use a subdirectory for operator commands 2017-07-25 15:55:35 -04:00
Michael Schurter 6627d28bff Mention templates & env vars in configuring tasks 2017-07-25 10:13:28 -07:00
Michael Schurter 46a17c39bf Write secrets to secrets! 2017-07-25 09:51:11 -07:00
Michael Schurter 19dd0be377 Use better example for env template 2017-07-24 16:40:39 -07:00
Seth Vargo 34b5e8945c
More changes 2017-07-24 15:14:02 -04:00
Seth Vargo 12a855f11d
Add Kevin's copy changes 2017-07-24 15:11:17 -04:00
Seth Vargo 28ec0d11d3
Update anti-affinity 2017-07-24 14:46:01 -04:00
Seth Vargo 577f73d300
Use go not golang 2017-07-24 14:45:12 -04:00
Seth Vargo d9c61578bc
Lowercase rkt 2017-07-24 14:42:02 -04:00
Seth Vargo e6e1a88a61
Better rolling deploy text 2017-07-24 14:41:39 -04:00
Seth Vargo 1962c32d17
Mention more than bg 2017-07-24 14:41:14 -04:00
Seth Vargo d143586c22
Space file system 2017-07-24 14:40:32 -04:00
Seth Vargo 52e7ed062b
Spark on left 2017-07-24 11:35:45 -04:00
Seth Vargo 6ea35462bd
Add better images for rolling deploys, bg, and machine failure 2017-07-24 11:35:45 -04:00
Seth Vargo 102085ca2a
Add rolling upgrades 2017-07-24 11:35:45 -04:00
Seth Vargo bff302d49c
Add provider names 2017-07-24 11:35:44 -04:00
Seth Vargo bfd469bfda
Add colored output to make Alex happy 2017-07-24 11:35:44 -04:00
Seth Vargo f8e03ee2c7
Add svg for terminal circles
The HTML bullet is a different size in different browsers :(
2017-07-24 11:35:44 -04:00
Seth Vargo 3beff58030
Fix broken scrollbars on Safari 2017-07-24 11:35:44 -04:00
Seth Vargo 878f8925c1
Add Apache Spark logo 2017-07-24 11:35:43 -04:00
Seth Vargo f34c11f808
Remove cubes.js 2017-07-24 11:35:43 -04:00
Seth Vargo eaa7357c14
Update homepage to match 2017-07-24 11:35:43 -04:00
Seth Vargo 8a28167adc
Update logos and colors 2017-07-24 11:35:42 -04:00
Karel Malec 4b98f94a88 Allow rkt driver to mount volumes read-only 2017-07-21 13:05:15 +02:00
Alex Dadgar 15fad96c21 Merge pull request #2868 from hashicorp/f-feedback
Variety of UX fixes
2017-07-20 17:43:42 -07:00
Karel Malec cf985f011c Pass task group name as NOMAD_GROUP_NAME environment variable 2017-07-21 01:22:54 +02:00
Alex Dadgar cd6e0e2084 Blue/green and canary docs 2017-07-19 15:56:41 -07:00
Charlie Voiselle 9169f54271 More why for the -orphan flag
Added a little more explanation about the why for creating the nomad service token with `-orphan` to recusce confusion about the orphan=false in the policy right above the example.
2017-07-19 17:58:51 -04:00
Alex Dadgar 747d67eb3f Allow tuning of heartbeat ttls
This PR allows tuning of heartbeat TTLs. An example of very aggressive
settings is as follows:

```
server {
  heartbeat_grace = "1s"
  min_heartbeat_ttl = "1s"
  max_heartbeats_per_second = 200.0
}
```
2017-07-19 09:38:35 -07:00
Alex Dadgar 9399ef5213 docs 2017-07-18 14:07:28 -07:00
Alex Dadgar 810ab68f94 Add command autocompletion.
This PR adds command autocompletion to the CLI.
2017-07-17 15:00:40 -07:00
Charlie Voiselle 3cff38ff94 Spellcheck sweep of website directory
Caught some typos.  Made units separate from the numbers 1GHz -> 1 GHz
after talking to Nick about questions of style (this has the side effect of making future spell checking easier).
2017-07-17 14:41:50 -04:00
Rob Genova df8549d40e Update the `vault token-create` example to use `-orphan` (to prevent revocation if the parent token expires); add note about Vault token hierarchies 2017-07-13 13:04:31 -07:00
Rob Genova 02f3d363ee Merge pull request #2754 from hashicorp/d-spark-guide
Apache Spark Integration Guide
2017-07-10 22:11:06 -07:00
Rob Genova d307f592e3 Fix terraform links 2017-07-10 22:09:17 -07:00
Rob Genova 5968ec37ad Fix link to Terraform 2017-07-10 22:03:45 -07:00
Rob Genova 1fe574630d Move Terraform reference to Next Steps 2017-07-10 12:41:40 -07:00
Rob Genova 9b96a50497 update references to build tgz 2017-07-10 12:05:36 -07:00
Rob Genova a08778ab6e Add reference to example Terraform configuration; reframe getting started options as manual vs. automated 2017-07-08 10:16:13 -07:00
Rob Genova 28d9ea3e40 Fix formatting; remove reference to personal S3 bucket 2017-07-08 08:20:10 -07:00
Rob Genova 7bea8ab37f Remove references to personal S3 bucket 2017-07-08 08:09:10 -07:00
Alex Dadgar 16052866ae Merge pull request #2806 from hashicorp/d-update-stanza
Document new upgrade stanza
2017-07-07 16:52:50 -07:00
Michael Schurter 95a9a5da71 Merge pull request #2787 from hashicorp/f-docker-test-mac
Test #2652 - Docker MAC Address option
2017-07-07 16:22:10 -07:00
Michael Schurter 4be4df21c9 Merge pull request #2797 from hashicorp/f-2785-docker-bridge-ip
Add driver.docker.bridge_ip node attribute
2017-07-07 16:20:20 -07:00
Alex Dadgar 5086f1c868 Document new upgrade stanza
This PR adds documentation and examples for the new update stanza.
2017-07-07 16:04:35 -07:00
Rob Genova 717b57c736 rewording and minor fixes to various pages 2017-07-07 13:20:40 -07:00
Michael Schurter 73ec282529 an user -> a user 2017-07-07 12:12:48 -07:00
Alex Dadgar 461e36584e events 2017-07-07 12:12:48 -07:00
Alex Dadgar 867012b9cb add to docs 2017-07-07 12:10:04 -07:00
Alex Dadgar a7fdc74bd4 feedback 2017-07-07 12:10:04 -07:00
Alex Dadgar d4bdc866f0 HTTP API docs for job 2017-07-07 12:10:04 -07:00
Alex Dadgar c643e6b0d1 Add config options 2017-07-07 12:05:56 -07:00
Alex Dadgar 6d90c5c780 Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Michael Schurter ed78d7eda7 Document `driver.docker.bridge_ip` node attribute 2017-07-07 10:17:44 -07:00