Commit graph

1363 commits

Author SHA1 Message Date
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
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
Alex Dadgar 23de02ba05 Merge pull request #2599 from DAXaholic/fix-sidebar-item-text
Fix wrong text for 'Guides' item in sidebar
2017-05-02 20:28:15 -07:00
Michael Schurter f85ad65530 Document verify_https_client 2017-05-02 17:38:12 -07:00
Alex Dadgar 109b71d495 Merge pull request #2602 from devth/patch-1
Update K8S max nodes
2017-05-02 09:25:53 -07:00
Alex Dadgar de6ab0c479 Merge pull request #2603 from DAXaholic/fix-sidebar-project-link
Fix wrong link to GitHub project in sidebar
2017-05-02 09:25:37 -07:00
Trevor Hartman bde2e10ce7 Update K8S max nodes
According to http://blog.kubernetes.io/2017/03/scalability-updates-in-kubernetes-1.6.html
2017-05-02 07:54:46 -06:00
Aaron Kunz e481d295cd Fix wrong link to GitHub project in sidebar 2017-05-02 07:27:11 +02:00
Alex Dadgar d9f83658b4 fix old arch 2017-05-01 17:36:20 -07:00
Aaron Kunz f12c7ad6c7 Fix wrong text for 'Guides' item in sidebar 2017-04-30 09:42:17 +02: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
Seth Vargo d016bb7130
Fix logos 2017-04-18 14:15:06 -04: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
Alex Dadgar ba052d8405 Merge branch 'master' of github.com:hashicorp/nomad 2017-04-14 12:47:52 -07:00
Alex Dadgar f8f4e859af updated cluster requirements 2017-04-14 12:47:46 -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
Seth Vargo 0538607ee9
Import fonts 2017-04-06 18:42:43 -04:00
Seth Vargo dd22187f5d
Add presskit and styles 2017-04-06 18:37:36 -04:00
Mitchell Hashimoto d31af97709 Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
Seth Vargo f6c78b9cb7
Use Nomad's color 2017-04-01 20:58:49 -04:00
Seth Vargo a64d06afa1
Update Gemfile 2017-04-01 20:54:14 -04:00
Seth Vargo 24f7da06e9
Add favicons 2017-04-01 20:53:35 -04:00
Alex Dadgar d950cfe00b version bump 2017-03-31 17:07:03 -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
Seth Vargo 5358040a70
Update downloads page 2017-03-28 13:15:01 -04:00
Alex Dadgar 55046ffa02 remote cli 2017-03-28 09:47:57 -07:00
Alex Dadgar 6488b4f5fd Merge pull request #2492 from burdiyan/patch-1
Mention Nomad CLI remote usage
2017-03-28 09:41:29 -07:00
Seth Vargo 158d9e52bb
Remove old variables 2017-03-28 10:52:36 -04: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
Seth Vargo 3d0a3806c7
Update styles 2017-03-27 23:37:59 -04: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
Chris Spence f177e6b0f6 Wrong shell variable used when changing directory 2017-03-24 15:27:32 +00:00
Long Nguyen 1376773a3a added git docs to artifacts 2017-03-22 16:50:45 -04:00
Jonathan Ballet 9afcea7426 Update doc to explain support for go-sockaddr/template format 2017-03-22 09:05:19 +01:00
Michael Schurter c9641dbc67 Mention 0.5.5 tool incompat with 0.5.4 agents 2017-03-20 16:20:43 -07:00
sprutner 6b06939f6a Update index.html.md
grammar
2017-03-20 13:48:04 -07:00
Michael Schurter a22bf82596 Mention #2361 in upgrade notes. 2017-03-17 09:52:18 -07:00
Sean Chittenden 33019eca7c
Tweak docs to note that a port will wire up both a TCP and UDP port. 2017-03-15 16:10:01 -07:00
Alex Dadgar 9bfeac3c1d Update the vault config on website 2017-03-15 16:08:15 -07:00
Seth Vargo 9975e0f25a
Update container 2017-03-15 14:39:35 -07:00
Seth Vargo ca0feb3a8c
Fix monospace font size 2017-03-15 14:17:02 -07:00
Alex Dadgar 07b33eeb9d Merge branch 'master' of github.com:hashicorp/nomad 2017-03-15 11:30:28 -07:00
Alex Dadgar 23c4030fc4 Fix some website stuff 2017-03-15 11:29:36 -07:00
Seth Vargo a9663cc5f6
Add header links 2017-03-14 18:56:42 -07:00
Alex Dadgar c1fd58d11e Bump version 2017-03-14 14:51:11 -07:00
Alex Dadgar 177bd14718 rename cpu_total_compute and docs 2017-03-14 14:15:49 -07:00
Alex Dadgar 2a105c4eaa Merge pull request #2427 from hashicorp/f-gc-limit
Limit parallelism during garbage collection
2017-03-14 10:45:29 -07:00
Christian Winther b12323f08c Fix #2445
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Michael Schurter a116d6441d Merge pull request #2426 from hashicorp/f-tg-port-ip-env-var
Add NOMAD_{IP,PORT}_<task>_<label> env vars
2017-03-13 12:00:59 -07:00
Alex Dadgar df87e8d255 documentation 2017-03-11 16:18:01 -08:00
Alex Dadgar 9c71e48eae Merge pull request #2428 from hashicorp/telemetry-docs
Added docs for the collection_interval option in the telemetry block
2017-03-11 13:52:24 -08:00
Diptanu Choudhury 53d7ec02fd Added docs for the collection_interval option in the telemetry block 2017-03-10 16:33:25 -08:00
Alex Dadgar 70e4feb045 Limit parallelism during garbage collection
This PR introduces a parallelism limit during garbage collection. This
is used to avoid large resource usage spikes if garbage collecting many
allocations at once.
2017-03-10 16:27:00 -08:00
Michael Schurter 71783e8e41 Add NOMAD_{IP,PORT}_<task>_<label> env vars 2017-03-10 12:17:43 -08:00
Michael Schurter 7080148599 Merge pull request #2416 from hashicorp/b-clean-env-var-2
Round two of env var cleaning
2017-03-09 17:14:45 -08:00
Michael Schurter 9cb743bd31 Update documentation now that cleaning is more extensive 2017-03-09 17:12:10 -08:00
Jack Pearkes 37e13ce6d0 website: update version of middleman-hashicorp to 0.3.13 2017-03-08 16:59:45 -08:00
Jason Costello 84c10783a6 Remove announcement banner and assets 2017-03-08 16:41:44 -08:00
Jason Costello a34615f118 Remove "by" hashicorp 2017-03-08 16:41:44 -08:00
Jason Costello 7a7d5bcaa9 Add mega nav 2017-03-08 16:40:38 -08:00
Diptanu Choudhury 62a3dad2b8 Updated version of website 2017-03-08 16:38:54 -08:00
Alex Dadgar a4d4bbc6c4 turbolinks 2017-03-08 11:52:21 -08:00
Seth Vargo 3e6134b5f0
Update license 2017-03-08 11:38:59 -08:00
Seth Vargo 182a842715
Update middleman-hashicorp 2017-03-08 11:30:05 -08:00
Seth Vargo bd450fee49
Update middleman-hashicorp 2017-03-08 11:29:34 -08:00
Michael Schurter 7d099b952e Draw attention to env var sanitizing 2017-03-07 08:55:37 -08:00
Michael Schurter ca0b19a050 Add documentation and changelog entry 2017-03-06 20:05:05 -08:00
Sergey Mezentsev 0078af8b08 Remove 'disk space' from docs 2017-03-04 22:54:49 +03:00
Alex Dadgar 0124ba1406 Fix docs and script 2017-03-03 16:00:39 -08:00
Alex Dadgar e07a337a8d Fix mbits default on website 2017-03-01 16:36:59 -08:00
Alex Dadgar af4e400b36 Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
Alex Dadgar eaaa259812 Merge pull request #2379 from Gerrrr/doc/latest-tag
Add caveat about always pulling latest tag to docker driver docs
2017-03-01 10:09:38 -08:00
Seth Vargo 6c2a250e9f
Re-enable soft purging, stale-if-error 2017-03-01 12:36:03 -05:00
Aleksandr Sorokoumov e05b7b7e3a Add caveat about always pulling latest tag to docker driver docs 2017-03-01 00:25:57 +01:00
Alex Dadgar e21792091a remove leading slash on vault path 2017-02-28 14:03:18 -08:00
Alex Dadgar 9c91550926 Add lookup-self 2017-02-28 13:46:38 -08:00
Seth Vargo deaa8a50aa
Update caching 2017-02-28 15:15:29 -05:00
jmvacdmon 1f540462e5 change example to logging docker driver 2017-02-28 13:51:36 +01:00
Alex Dadgar 927663d284 Merge pull request #2371 from crokita/patch-1
Fix syntax of docker.cleanup.image example
2017-02-27 13:53:04 -08:00
Alex Dadgar 6910678c21 Allow random UUID 2017-02-27 13:42:37 -08:00
Chris b4d9714328 Fix syntax of docker.cleanup.image example
I found this syntax issue because I copy-pasted the snippet into my config file and attempted to run Nomad with it. Whoops
2017-02-27 16:34:43 -05:00
Alex Dadgar 6afcba9e22 Allow specification of eval/job gc threshold 2017-02-27 11:58:10 -08:00
Seth Vargo 73d307c361 Do not soft purge
Soft purging is great, but we warm the cache immediately after deploy, and even then, if a user happens to be visiting the site in that few hundred milliseconds, they eat the time of a Fastly-S3 lookup, which is still 100x better than 99% of the websites out there.
2017-02-27 14:36:08 -05:00
Alex Dadgar 10edf881fc More auth docs 2017-02-27 11:02:01 -08:00
Seth Vargo 363f44cefe
Fix missing asset 2017-02-27 13:43:33 -05:00
Alex Dadgar 529993eaa9 links 2017-02-27 09:40:55 -08:00
Alex Dadgar fb68bc82de remove sidebar for cluster 2017-02-27 09:35:13 -08:00
Scott Wiersdorf 3fc0f5c6b3 add data_dir to server and client configuration 2017-02-24 17:08:57 -07:00
Alex Dadgar aa05ecc37c Merge pull request #2361 from hashicorp/f-docker-coordination
Docker Image Coordinator and caching
2017-02-24 14:18:21 -08:00
Alex Dadgar b5d4f39734 Docker Image Coordinator
This PR introduces a coordinator for doing CRUD on a Docker image. It
should fix racy deletion of images. The issue before was images would be
deleted between prestart and start causing an error.
2017-02-24 13:20:40 -08:00
Michael Schurter f61b7975a3 Put access to Docker volume drivers behind flag 2017-02-23 15:47:36 -08:00
Pietro Menna 12367ce646 Improved documentation for Docker Volume Drivers
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna 2f88d6cb68 Docker Volume Drivers
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00