Commit graph

1359 commits

Author SHA1 Message Date
Alex Dadgar 961eb4c40e documentation 2017-10-11 17:48:18 -07:00
Tim Gross 1c44d54842 update docker.auth.helper to note hardcoded prefix 2017-10-11 16:19:40 -04:00
James Rasell 4628637b54
Update agent CLI to include Consul config option flags.
This update introduces command line flags for all Consul options
thus allowing users to both use a config file and CLI options to
configure Consul.

Website documentation has also been updated.

Closes #3304
2017-10-05 14:26:26 +01:00
Michael Schurter 0a7e79e854 Merge pull request #3303 from hashicorp/doc-docker-load
Docker `load` takes a string not a slice
2017-09-29 14:01:45 -07:00
Michael Schurter 46f0821960 Docker load takes a string not a slice 2017-09-29 11:29:11 -07:00
Michael Schurter d951568754 Mention Docker for Windows caveats 2017-09-28 17:22:25 -07:00
Michael Schurter 97b089d985 Cleanup versioning doc 2017-09-27 17:24:30 -07:00
Michael Schurter 77f1fe40e7 Properly autodetect Docker IP in Windows
Our Docker network plugin autodetection code was erroneously treating
Window's default network `nat` as a plugin and defaulting to it instead
of the host.

Fixes #3218
2017-09-27 16:49:23 -07:00
Alex Dadgar bed56cbb1e Merge pull request #3292 from hashicorp/f-lint-website
Spell check website
2017-09-27 12:56:13 -07:00
Alex Dadgar e8629773a2 Merge pull request #3271 from hashicorp/d-oss2ent
Document enterprise upgrade path
2017-09-27 11:53:44 -07:00
Alex Dadgar 60111b5af7 Spell check website 2017-09-27 11:14:37 -07:00
Michael Schurter d7229ce6c5 Merge pull request #3256 from dalegaard/master
Enable rkt driver to use address_mode = 'driver'
2017-09-26 18:04:37 -05:00
Lasse Dalegaard 3d25fd3b00 Bump minimum rkt version to 1.27.0.
The changes introduces in #3256 require at least rkt 1.27.0 because of
a bug in the JSON output of `rkt status` in previous versions.

Here we upgrade all references to rkt's minimum version, and also make
travis and vagrant use this version when running tests.

Finally we add a CHANGELOG notice.
2017-09-26 19:15:43 +02:00
Alex Dadgar 4eeffefef3 Namespace Quotas -> Resource Quotas 2017-09-26 09:51:28 -07:00
Alex Dadgar f6d1b7f2eb Document enterprise upgrade path 2017-09-25 14:59:41 -07:00
Chelsea Komlo fd913cdd09 Merge pull request #3264 from hashicorp/f-acl-token-update
Update ACL token
2017-09-25 17:56:04 -04:00
Alex Dadgar dbff10a4a5 Document need to specify network_interface on 0.6
This PR enhances the upgrade documentation from 0.5.x to 0.6.x

Fixes https://github.com/hashicorp/nomad/issues/3236
2017-09-25 13:50:07 -07:00
Chelsea Holland Komlo 907c4da351 fixups from code review 2017-09-25 19:42:03 +00:00
Chelsea Holland Komlo 3966a27c87 update acl token 2017-09-25 15:54:06 +00:00
Wim Fournier 139ef5e745 Update network.html.md
Fixing #3259
2017-09-22 10:24:05 +02:00
David Calvert f6894e3655 Minor typo on consul.html.md 2017-09-21 11:06:39 +02:00
Alex Dadgar e5ec915ac3 sync 2017-09-19 10:08:23 -05:00
Michael Schurter f92ffe5af5 Merge pull request #3105 from hashicorp/f-876-restart-unhealthy
Restart unhealthy tasks
2017-09-17 19:38:32 -07:00
Chelsea Holland Komlo c69cf5807e update documentation 2017-09-17 18:47:06 +00:00
Chelsea Holland Komlo e8cc152828 add documentation for token info 2017-09-17 18:45:32 +00:00
Chelsea Holland Komlo 8f6a697834 add policy with rules for documentation 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 8c04423c63 small fixups 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 7b8c4557b9 documentation; add to existing commands 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 6d4156e706 fixups 2017-09-17 05:15:25 +00:00
Chelsea Holland Komlo ee3de65f7d add acl policy delete command 2017-09-17 04:36:08 +00:00
Chelsea Holland Komlo 80e810e09b adds ACL token delete 2017-09-16 00:26:44 +00:00
Michael Schurter 6c38c59e27 @dadgar is better at words than me 2017-09-15 15:53:22 -07:00
Michael Schurter 7303d2e88a Minor corrections to check_restart docs 2017-09-15 15:18:32 -07:00
Armon Dadgar 08f592d38d website: document token create 2017-09-14 22:05:17 -07:00
Armon Dadgar 3345ef42b8 website: document acl policy apply 2017-09-14 21:31:15 -07:00
Michael Schurter 2251fb890e Move check_restart to its own section. 2017-09-14 16:48:39 -07:00
Michael Schurter 95c6077435 Document new check_restart stanza 2017-09-14 16:46:54 -07:00
Alex Dadgar 2102bc3968 Merge pull request #3209 from dezmodue/patch-1
Adding missing <
2017-09-14 10:53:26 -07:00
Chelsea Holland Komlo fcc3071e52 fixups from code review 2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo e0f9cd4a0f add documentation for prometheus config option 2017-09-13 19:21:21 +00:00
Simone Sciarrati 54a41c4279 Adding missing <
Missing < for the TaskGroup
2017-09-13 11:40:37 +02:00
Armon Dadgar 9344f58b27 website: document bootstrap CLI and update ACL guide 2017-09-11 10:47:39 -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 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 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 cf09c2af24 Fix confusing batch job example 2017-08-24 17:12:43 -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
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 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 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
Michael Schurter 28c79ff658 Merge pull request #2923 from hashicorp/d-tls-guide
TLS Guide
2017-08-11 21:03:52 -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
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 79d25b7db9 Merge pull request #2947 from hashicorp/f-vault-grace
Allow template to set Vault grace
2017-08-07 16:29:53 -07: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
Kate Taggart 99455679cf fix typo. 2017-08-02 00:39:08 -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 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
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
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
Charlie Voiselle 1af9d2536e Addressed Review Feedback 2017-07-28 17:42:24 -04: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 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
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
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
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 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
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
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
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
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
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 df31b83468
Cleanup links to limit redirects 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 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
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
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
Alex Dadgar b2f692ff42 better change_mode explanation for templates 2017-05-03 12:40:27 -07:00
Aaron Kunz 455ef8a8f5 Fix typo 2017-05-03 19:45:03 +02:00
Michael Schurter f85ad65530 Document verify_https_client 2017-05-02 17:38:12 -07:00
Alex Dadgar d9f83658b4 fix old arch 2017-05-01 17:36:20 -07:00
Bill Anderson 851d20248f Update constraint.html.md
Fix Distinct Constraint header
2017-04-24 11:31:20 -04:00
Michael Schurter a1eaa6cea1 Document tls_skip_verify 2017-04-19 12:45:34 -07:00
Michael Schurter e204a287ed Refactor Consul Syncer into new ServiceClient
Fixes #2478 #2474 #1995 #2294

The new client only handles agent and task service advertisement. Server
discovery is mostly unchanged.

The Nomad client agent now handles all Consul operations instead of the
executor handling task related operations. When upgrading from an
earlier version of Nomad existing executors will be told to deregister
from Consul so that the Nomad agent can re-register the task's services
and checks.

Drivers - other than qemu - now support an Exec method for executing
abritrary commands in a task's environment. This is used to implement
script checks.

Interfaces are used extensively to avoid interacting with Consul in
tests that don't assert any Consul related behavior.
2017-04-19 12:42:47 -07:00
Alex Dadgar 1f817b6a50 Merge pull request #2566 from hashicorp/f-job-versions
Track multiple job versions and introduce a stop state for jobs
2017-04-19 11:11:11 -07:00
Michael Schurter 772f301b6b Mention required cli config when using tls
Fixes #2571
2017-04-18 09:04:06 -07:00
Alex Dadgar 5a08ea7801 Document fix 2017-04-17 20:53:15 -07:00
Alex Dadgar 7c4ecf0858 API Docs 2017-04-16 16:58:48 -07:00
Alex Dadgar 3145086a42 non-purge deregisters 2017-04-15 17:08:05 -07:00
vrenjith d3835a002f Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar e0f8c90b93 Make logging clearer 2017-04-11 12:34:09 -07:00
Alex Dadgar cdd624ff5b Add ExtraHosts to Docker driver
This PR allows job submitters to add extra hosts to the containers
/etc/hosts file.

Fixes https://github.com/hashicorp/nomad/issues/2546
2017-04-11 10:52:41 -07:00
Alex Dadgar 5fa6a23f01 small doc change 2017-04-10 12:35:41 -07:00
Diptanu Choudhury a96018fccc Fixed typo 2017-04-10 11:45:11 -07:00
Diptanu Choudhury 37f4cf8c5e Added docs 2017-04-10 11:27:32 -07:00
Alex Dadgar d2a64d3fd3 wording 2017-04-07 13:02:02 -07:00
Alex Dadgar 81188906a5 Merge pull request #2535 from clinta/docker-ip
Allow specifying container IP with docker driver
2017-04-07 12:59:12 -07:00
Clint Armstrong c46ec657e3 Update docs to clarify that user defined networks are required 2017-04-07 15:58:16 -04:00
Alex Dadgar 7bb75abda3 Fix documentation around ephemeral disk.
Fixes https://github.com/hashicorp/nomad/issues/2530
2017-04-07 12:49:53 -07:00
Clint Armstrong d71ddcb756 Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
Mitchell Hashimoto d31af97709 Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
Alex Dadgar 81b78f77e1 Track task start/finish time & improve logs errors
This PR adds tracking to when a task starts and finishes and the logs
API takes advantage of this and returns better errors when asking for
logs that do not exist.
2017-03-31 16:14:11 -07:00
Cameron Stokes 02f8bc8080 Grammar fix. 2017-03-29 11:49:09 -07:00
vrenjith b78474b7a1 Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith d494897000 disk is not a supported entry at task level
Removed the reference to `disk` in the `resources` overview statement
2017-03-29 00:05:17 +05:30
Alex Dadgar 3b493b29b0 Merge pull request #2488 from hashicorp/f-node-values-template
Access Node Meta and Attrs in template
2017-03-28 11:10:29 -07:00
Alex Dadgar 55046ffa02 remote cli 2017-03-28 09:47:57 -07:00
Alexandr Burdiyan 90af58f392 Mention Nomad CLI remote usage
Added information about `NOMAD_ADDR` environment variable for Nomad CLI remote usage.
2017-03-28 12:08:35 +02:00
Alex Dadgar 23562d77c9 Access Node Meta and Attrs in template
This PR allows accessing the Node's attributes and metadata as in a
template.

```
template {
    data = "{{ env \"attr.unique.network.ip-address\" }}"
    destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Michael Schurter 8af76ef796 Merge pull request #2483 from hashicorp/docs-artifact-source
Remove incorrect list of supported protocols
2017-03-27 15:12:56 -07:00
Alex Dadgar 68650f78b9 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-27 11:44:58 -07:00
Alex Dadgar 7d74fb60ea Fix update docs 2017-03-27 11:44:46 -07:00
Alex Dadgar b364c2f1e6 Merge pull request #2471 from lnguyen/git_docs
added git docs to artifacts
2017-03-27 11:37:35 -07:00
Alex Dadgar 830d025755 Merge pull request #2485 from Sonna/patch-1
Fix typo in documentation link
2017-03-27 11:30:26 -07:00
Alex Dadgar c9731671ad more verbose documentation on role based vault integration 2017-03-27 11:26:18 -07:00
Alex Dadgar 1402e32c0a document attr.unique.network.ip-address in common list 2017-03-27 10:45:16 -07:00
Alex Sonneveld 1e7a230d25 Remove localhost URL in nomad plan command link
Remove the reference to `http://localhost:4567` within the Rolling Update
strategy documentation and fix the link to the `nomad plan` command
documentation.
2017-03-27 12:00:38 +11:00
Michael Schurter 05d42c73a8 Remove incorrect list of supported protocols
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00