Commit graph

1637 commits

Author SHA1 Message Date
Chelsea Komlo c54a4f7c91 Merge pull request #3291 from hashicorp/f-acl-get-job-versions
Add ACL for job endpoint GetJobVersions
2017-09-28 10:35:19 -04:00
Chelsea Holland Komlo c242ac1431 job dispatch should have dispatch policy 2017-09-28 14:28:28 +00:00
Michael Schurter b59b9463b6 Merge pull request #3296 from hashicorp/b-win-docker-ip
Properly autodetect Docker IP in Windows
2017-09-27 22:43:14 -05: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
Chelsea Komlo 77ae328fbe Merge pull request #3276 from hashicorp/f-acl-job-evaluate
Add read job permissions to evaluate endpoint
2017-09-27 18:01:15 -04:00
Chelsea Holland Komlo 09cd8b2792 add documnetation 2017-09-27 21:06:13 +00:00
Chelsea Komlo d3d1bc6498 Merge pull request #3279 from hashicorp/f-acl-job-allocations
Add ACL to job allocations endpoint
2017-09-27 16:57:04 -04:00
Chelsea Komlo 8f1c89c721 Merge pull request #3283 from hashicorp/f-acl-job-latest-deployment
Add ACL to latest job api
2017-09-27 16:54:44 -04:00
Alex Dadgar 765b030bec Fixes 2017-09-27 13:42:56 -07:00
Chelsea Holland Komlo 41c30183ee add documentation 2017-09-27 20:23:06 +00:00
Chelsea Holland Komlo fe226a8f87 add documentation 2017-09-27 20:20:04 +00:00
Chelsea Holland Komlo aa026e708a add documentation 2017-09-27 20:17:58 +00:00
Chelsea Holland Komlo 4e18d060b0 add documentation 2017-09-27 20:12:49 +00:00
Alex Dadgar 14e6026938 Allow querying self token
This PR allows querying self ACL token when the SecretID is for the
AccessorID in question.
2017-09-27 13:00:58 -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
Chelsea Holland Komlo 1bab53c9fd acl for job deregister 2017-09-27 19:21:10 +00:00
Chelsea Komlo b40de659a7 Merge pull request #3281 from hashicorp/f-acl-job-evaluations
Add ACL for Job Evaluations endpoint
2017-09-27 15:15:35 -04: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
Chelsea Komlo b2cb0129c8 Merge pull request #3282 from hashicorp/f-acl-job-deployments
Add ACL for job deployments endpoint
2017-09-27 12:42:25 -04:00
Chelsea Holland Komlo 0db1367d43 add acl for dispatch job 2017-09-27 16:33:49 +00: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
Chelsea Holland Komlo 55c4ca187e add acl for job deployments endpoint 2017-09-26 20:33:03 +00:00
Chelsea Holland Komlo a7b7b3f6c6 add acl for Job Evaluations endpoint 2017-09-26 20:12:37 +00:00
Chelsea Komlo 600759ebb9 Merge pull request #3275 from AlmZ/patch-1
Fix typo in Prometheus Configuration url
2017-09-26 15:05:43 -04:00
Chelsea Komlo 4b358d09a3 Merge pull request #3274 from hsmade/patch-2
Update metrics.html.md
2017-09-26 15:03:48 -04:00
Chelsea Holland Komlo 2fb7772c2c add acl to job allocations endpoint 2017-09-26 18:01:23 +00: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
Almaz Gabdelkhadiev f4a9d5c954 Fix typo in Prometheus Configuration url 2017-09-26 17:51:21 +03:00
Wim Fournier aa1a47f03c Update metrics.html.md
Fix typo
2017-09-26 13:06:59 +02:00
Chelsea Komlo 68e679a8f2 Merge pull request #3270 from hashicorp/f-acl-job-revert
Add ACL for job revert endpoint
2017-09-25 18:43:08 -04: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
Chelsea Holland Komlo 021dae5452 add acl documentation 2017-09-25 21:53:32 +00: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 Komlo ddc979f459 Merge pull request #3266 from hashicorp/f-acl-job-validate
Add ACL for job validate endpoint
2017-09-25 14:09:02 -04:00
Chelsea Holland Komlo d9ac59f6b0 add acl for job validate endpoint 2017-09-25 17:34:02 +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 Lange b85f15ead1 Merge pull request #3232 from hashicorp/d-ui-api-doc
Document each route in the UI for the API docs
2017-09-18 19:52:04 -05:00
Michael Lange 5ee4cbcdde Merge pull request #3233 from hashicorp/d-ui-guide
New UI Guide for learning the Nomad UI
2017-09-18 19:51:53 -05:00
Michael Lange 18a4448edd Add a beta warning to the ui intro guide. 2017-09-18 12:33:33 -05:00
Michael Lange f59f3e5771 Add screenshots to the getting started UI page 2017-09-18 12:33:33 -05:00
Michael Lange c5f09f57b9 Update the clustering next steps to go to the UI page. 2017-09-18 12:33:32 -05:00
Michael Lange b6d208f122 Add a new step to the intro for inspecting a job via the UI. 2017-09-18 12:33:32 -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
Michael Lange f5fb790de8 New UI Guide for learning the Nomad UI 2017-09-17 18:13:53 -05:00
Michael Lange c6e2d1722a Document each route in the UI for the API docs 2017-09-17 18:12:15 -05:00
Chelsea Holland Komlo a10f2dd050 add circonus as a metric tool 2017-09-17 22:51:19 +00:00
Chelsea Holland Komlo be1987f330 enumerate data tools nomad supports 2017-09-17 21:30:25 +00:00
Chelsea Holland Komlo 97e5b39113 update links for github 2017-09-17 21:15:58 +00: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
Alex Dadgar 8c73da3053 Merge pull request #3237 from hashicorp/d-metrics-documentation
WIP: Guide to nomad metrics integrations
2017-09-17 10:50:43 -07:00
Chelsea Holland Komlo eb4f30d535 guide to nomad metrics with integrations 2017-09-17 17:29:25 +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
Chelsea Komlo 16ef183ddf Merge pull request #3219 from hashicorp/f-acl-job-list
Add job list ACL
2017-09-15 19:32:34 -04: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
Michael Schurter 008b660513 Merge pull request #3222 from hashicorp/f-acl-node
Node ACL enforcement
2017-09-15 14:55:20 -07:00
Chelsea Holland Komlo 6ca7a5f4db add documentation for job list acl 2017-09-15 21:26:27 +00:00
Armon Dadgar 08f592d38d website: document token create 2017-09-14 22:05:17 -07:00
Michael Schurter 01816af088 Node.List ACL enforcement 2017-09-14 22:01:18 -07:00
Michael Schurter aca9e337aa Node.GetAllocs ACL enforcement 2017-09-14 21:42:19 -07:00
Armon Dadgar 3345ef42b8 website: document acl policy apply 2017-09-14 21:31:15 -07:00
Michael Schurter 4fc44c686c Node.GetNode ACL enforcement 2017-09-14 20:59:18 -07:00
Michael Schurter 21ee5f4720 Node.Evaluate ACL enforcement 2017-09-14 20:41:44 -07:00
Michael Schurter 0cfaaa0a4d Node.UpdateDrain ACL enforcement 2017-09-14 20:33:31 -07:00
Michael Schurter aca3bebb0a Alloc.GetAlloc ACL enforcement 2017-09-14 17:44:57 -07:00
Michael Schurter f5faf97650 Alloc.List ACL enforcement 2017-09-14 17:43:17 -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
Chelsea Holland Komlo 3eff2a06c5 add job endpoint ACL 2017-09-14 18:17:35 +00:00
Alex Dadgar 2102bc3968 Merge pull request #3209 from dezmodue/patch-1
Adding missing <
2017-09-14 10:53:26 -07:00
Alex Dadgar fa2dd57071 Merge pull request #3205 from hashicorp/f-deployment-acl
Deployment.GetDeployment ACL enforcement
2017-09-14 10:50:17 -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
Alex Dadgar 109504f4bc Merge pull request #3192 from hashicorp/f-acl-cli
Add ACL Bootstrap CLI
2017-09-13 11:46:15 -07:00
Alex Dadgar 4b947222a8 Deployment.GetDeployment ACL enforcement 2017-09-13 11:44:23 -07:00
Simone Sciarrati 54a41c4279 Adding missing <
Missing < for the TaskGroup
2017-09-13 11:40:37 +02:00
Charlie Voiselle 4e47589c2d Moved '.' into paragraph 2017-09-12 17:20:54 -04:00
Michael Lange 8898a3799a Update the ACL guide description
Now it's about ACLs instead of outage recovery.
2017-09-12 10:33:17 -07:00
Armon Dadgar fa6579098b website: update the bootstrap reset guide 2017-09-11 10:53:01 -07:00
Armon Dadgar 9344f58b27 website: document bootstrap CLI and update ACL guide 2017-09-11 10:47:39 -07:00
Armon Dadgar d4aed839d2 Merge pull request #3185 from hashicorp/f-acl-reset
Add ability to reset ACL bootstrap process
2017-09-11 10:47:17 -07:00
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 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