Commit Graph

1425 Commits

Author SHA1 Message Date
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
Michael Schurter 39edf23fd5 Merge pull request #2786 from hashicorp/f-docker-auth-soft-fail
Default to auth hard fail but optionally soft fail
2017-07-06 13:25:56 -07:00
Michael Schurter bae1b7db2d Test #2652
Also cleanup docker config opts docs
2017-07-06 12:46:25 -07:00
Michael Schurter 965c4e6893 Simplify soft fail doc 2017-07-06 12:30:08 -07:00
Michael Schurter 8f4353779a Merge branch 'master' into master 2017-07-06 12:09:36 -07:00
Michael Schurter 2900f941b5 Default to auth hard fail but optionally soft fail 2017-07-06 11:35:34 -07:00
Michael Schurter 2ea7b841aa Update docs and readme 2017-07-06 10:45:44 -07:00
Alex Dadgar b706b872d5 Merge pull request #2755 from hashicorp/sethvargo/docs-updates
Update docs notes
2017-07-06 10:02:38 -07:00
Michael Schurter 0f65a56627 Document cpu.totalcompute attribute 2017-07-03 14:51:02 -07:00
Michael Schurter 6e7cc3964e Merge pull request #2709 from hashicorp/f-advertise-docker-ips
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter d9e032aabf Merge pull request #2735 from hashicorp/f-no_host_uuid-true
Default no_host_uuid to true instead of false
2017-07-03 13:18:25 -07:00
Rob Genova cf12ab199b order guides alphabetically; rewrite getting started page; fix typos 2017-06-29 17:12:23 -07:00
Michael Schurter 34ed718d06 Merge pull request #2748 from hashicorp/d-migrate-needs-sticky
Ephemeral Disks: `migrate` requires `sticky`
2017-06-29 09:15:15 -07:00
Seth Vargo 4b6b9d4bab
Document permissions for agents
Fixes GH-948
2017-06-29 16:59:19 +08:00
Seth Vargo 73b2f8e1ec
Document context of service checks
Fixes GH-1935
2017-06-29 16:54:23 +08:00
Rob Genova c0c913cd40 Apache Spark Integration guide 2017-06-28 17:10:05 -07:00
Charlie Voiselle 9cd861a307 Noted that ephemeral storage `size` not enforced
This value is strictly used in the job placement, but is not enforced like a quota
2017-06-28 12:51:27 -04:00
Charlie Voiselle 47a1077c62 Ephemeral Disks: `migrate` requires `sticky`
The migrate option is a no-op when sticky is set to false
2017-06-28 12:21:01 -04:00
Jeremy Voorhis cd2a9e7bea Remove an errant # from vault policy sample. 2017-06-23 21:15:25 -07:00
Michael Schurter e81252ba45 Default no_host_uuid to true instead of false
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter 9b531d51a6 Remove defunct DRIVER references in docs
Simplifies things greatly!
2017-06-23 15:32:47 -07:00
Konstantin Gribov ea5e5788af HCL typo fix 2017-06-23 20:40:50 +03:00
Michael Schurter 9e686e84a1 Remove DRIVER env vars from docs 2017-06-22 16:16:17 -07:00
Michael Schurter 817554eb9d Document address_mode 2017-06-21 17:19:08 -07:00
Michael Schurter f85f43bdfb Consolidate envvars in a partial template 2017-06-21 17:19:08 -07:00
Alex Dadgar efebc29688 Merge pull request #2716 from hynek/master
Explain term signal behavior for Docker tasks
2017-06-20 12:36:42 -07:00
Hynek Schlawack dc8d7ad23d STOPSIGNAL 2017-06-17 10:17:48 +02:00
Paddy 13bddfaa84 Fix typo in job-dispatch docs.
canidate -> candidate.
2017-06-16 16:04:12 -07:00
Hynek Schlawack f002ba29d1 Explain term signal behavior for Docker tasks 2017-06-16 17:24:54 +02:00
Hynek Schlawack e3d5c69e0b Fix documentation of -tail/-f
Previously, -tail is erroneously documented as -f and -f and -n are not documented at all. 

This patch fixes both.
2017-06-16 15:50:40 +02:00
Michael Schurter 784d69789e Merge branch 'master' into add-no-overlay-option 2017-06-08 13:15:56 -07:00
Karel Malec b55f4bf601 Fix backticks in docs; refine --debug comment 2017-06-07 21:11:22 +02:00
Karel Malec b714194b9d Fix the backticks 2017-06-07 20:54:21 +02:00
Karel Malec a258a803f2 Added insecure_options config list 2017-06-07 09:58:42 +02:00
Karel Malec 1957e9dfa6 Add a no_overlay option for the rkt task config. 2017-06-07 00:17:33 +02:00
Rob Genova 5d8298290e Remove Atlas references from docs 2017-06-05 23:05:43 +00:00
Michael Schurter 73425f6d85 Update template docs to mention json encoding newlines 2017-06-02 15:08:08 -07:00
Alex Dadgar 3b46fe136f small cleanup 2017-05-31 15:56:54 -07:00
Alex Dadgar 8d6e28ace8 Merge branch 'master' into feature/2334 2017-05-31 14:27:07 -07:00
Ulrik Mikaelsson 6138564f00 Implement support for docker-credential-helpers
Solves: #2334
2017-05-31 12:45:02 +02:00
Seth Vargo a0af9d87c1
Remove links to consistency modes 2017-05-30 21:08:23 -04:00
Seth Vargo be3c47e5a7
Remove consistency modes 2017-05-30 20:53:37 -04:00
Seth Vargo df31b83468
Cleanup links to limit redirects 2017-05-30 20:25:11 -04:00
Seth Vargo 252252a3a5
Migrate API layouts 2017-05-30 20:25:11 -04:00
Seth Vargo 08cd843c5f
Migrate API index 2017-05-30 20:25:10 -04:00
Seth Vargo 80e296bbc5
Migrate validate APIs 2017-05-30 20:25:10 -04:00
Seth Vargo d3c5863cb5
Migrate system APIs 2017-05-30 20:25:10 -04:00
Seth Vargo 916d965e81
Migrate status APIs 2017-05-30 20:25:10 -04:00
Seth Vargo 4df34e95bd
Migrate regions APIs 2017-05-30 20:25:09 -04:00
Seth Vargo e090b716f7
Migrate operator APIs 2017-05-30 20:25:09 -04:00
Seth Vargo 41eaf492f9
Migrate nodes APIs 2017-05-30 20:25:09 -04:00
Seth Vargo 96fb79a42b
Add libraries & SDKs page 2017-05-30 20:25:08 -04:00
Seth Vargo 2193721e59
Migrate JSON Jobs to new namespace 2017-05-30 20:25:08 -04:00
Seth Vargo cc636583d6
Migrate jobs APIs 2017-05-30 20:25:08 -04:00
Seth Vargo 7cc59d8f77
Migrate evaluations APIs 2017-05-30 20:25:08 -04:00
Seth Vargo 9e52c07fc7
Migrate client APIs 2017-05-30 20:25:07 -04:00
Seth Vargo e0ec7787a2
Migrate allocations APIs 2017-05-30 20:25:07 -04:00
Seth Vargo 8883972d70
Migrate agent APIs 2017-05-30 20:25:07 -04:00
Seth Vargo 8b77d4cb16
Slightly better expansion on small screens 2017-05-30 20:25:07 -04:00
Seth Vargo 8030c338bf
Add API section to header and sidebar 2017-05-30 20:25:06 -04:00
Seth Vargo a3344af698
Fix community page formatting 2017-05-30 20:25:06 -04:00
Michael Schurter ffc2b36dc7 Merge pull request #2636 from hashicorp/f-gc-alloc-limit
Add new gc_max_allocs tuneable
2017-05-30 16:14:09 -07:00
Michael Schurter dd51aa1cb9 Merge pull request #2654 from hashicorp/f-env-consul
Add envconsul-like support and refactor environment handling
2017-05-30 14:40:14 -07:00
Michael Schurter d8f4a48a2c Merge pull request #2640 from hashicorp/b-remove-auto-advertise
Don't autoadvertise private ip if bind=localhost
2017-05-30 12:14:20 -07:00
Michael Schurter a7e26e0a3e Don't autoadvertise private ip if bind=localhost
A slight improvement to #2399 - if bind is localhost, return an error
instead of advertising a private ip. The advertised ip isn't valid and
will just cause errors on use. It's better to fail with an error message
instructing users how to fix the problem.
2017-05-30 11:47:29 -07:00
Michael Schurter eba4d9c592 Update docs to match gc_max_allocs default 2017-05-30 11:39:12 -07:00
Alex Dadgar 7e8bb15b2a Update artifact.html.md 2017-05-30 09:47:17 -07:00
Christian Winther e5b4a309bc correct arifact docs
It's not clear today that `destination`  *always* is a directory, and never a destination file

I've been bitten by this multiple times, as the docs today seem like it's possible to download remote file `x` and put it in dir `y` *and* rename the file to `z`
2017-05-30 12:37:52 +02:00
Michael Schurter 2e57f39915 Minor wording updates 2017-05-24 13:55:21 -07:00
Alex Dadgar 541241acc3 Update template.html.md 2017-05-24 09:54:22 -07:00
Michael Schurter bf0be17ddd Document env templates 2017-05-23 17:25:21 -07:00
Ben 2dd97a5bd4 Update cluster tutorial to generate random client UUIDs 2017-05-21 19:44:43 -04:00
Brandon Fulljames 694450314d Add security_opt to docs, alphabetize section 2017-05-19 17:04:28 -07:00
johannesa c3f4b1a2ee Added snippet for mac address in docs 2017-05-17 16:48:51 +02:00
Alex Dadgar d5c0f9dc8b Merge pull request #2646 from derzufall/patch-1
Docu was misleading
2017-05-16 12:35:08 -04:00
Jeff Fraser 2f26887378 Small typo fix in vault stanza 2017-05-16 11:46:59 -04:00
Ni Br bf9ae7943b Docu was misleading
The actual parameter for go-getter is 'sshkey' and not 'sshkeys'. The current docu is wrong here... corrected this. kkthxbai
2017-05-16 17:01:10 +02:00
Michael Schurter 5fd438661d Merge pull request #2399 from multani/sockaddr-template
Add support for late binding to IP addresses using go-sockaddr/template
2017-05-11 17:25:03 -07:00
Michael Schurter 0453c2709c Add new gc_max_allocs tuneable
More than gc_max_allocs may be running on a node, but terminal allocs
will be garbage collected to try to keep the total number below the
limit.
2017-05-11 17:18:02 -07:00
Brian Shumate 4a75e2928a
DOCS: Update Scheduler Types page
- Update grammar
- Add link to Large-scale cluster management at Google with Borg
2017-05-10 12:45:23 -04:00
Michael Schurter 4a02815ead Merge pull request #2622 from hashicorp/f-2594-support-consul-unix
Update consul/api to support unix socket addrs
2017-05-08 15:22:34 -07:00
Michael Schurter 85210eb92f Update consul/api to support unix socket addrs
Fixes #2594
2017-05-08 11:57:04 -07:00
Michael Schurter 95195daca2 Fix version constraint example in docs
Thanks @phinze!
2017-05-08 11:30:08 -07:00
Michael Schurter f350c1f37e Merge pull request #2608 from hashicorp/f-test-verify_https_client
Test verify_https_client behavior and skip Consul HTTPS health checks when enabled
2017-05-04 17:36:13 -07:00
Michael Schurter 1e7e83451c Typeos 2017-05-04 10:24:50 -07:00
Michael Schurter 3e7fb10718 Fix upgrade instructions for docker load option 2017-05-04 10:15:42 -07:00
Alex Dadgar 1e3d1167a3 Merge pull request #2507 from hashicorp/f-task-env-vars
Add env vars for dc, region
2017-05-03 17:22:43 -07:00
Brian Shumate 5c6932b54a
Remove evict 2017-05-03 18:45:27 -04:00
Brian Shumate 74f5229f48
Docs: Update node-status page
- Add details about Desired Status and Client Status for #264
2017-05-03 17:46:06 -04:00
Kate Taggart 9ae7459f27 important word change in docs. 2017-05-03 12:45:59 -07:00
Kate Taggart 6d469a8266 remove periods from things that aren't sentences. 2017-05-03 12:45:59 -07:00
Kate Taggart f6236dec34 mention the two newly available env vars in the docs. 2017-05-03 12:45:59 -07:00