Commit Graph

1880 Commits

Author SHA1 Message Date
Alex Dadgar 12ff9e5da1 review feedback 2017-10-16 12:40:41 -07:00
Alex Dadgar 5172073db2 Merge branch 'master' into f-acl-cli 2017-10-16 11:29:48 -07:00
Alex Dadgar b940175933 Update acl-tokens.html.md 2017-10-16 11:29:08 -07:00
Alex Dadgar 49248b11ef guide 2017-10-16 11:23:18 -07:00
Michael Schurter 916682f8a0 Merge pull request #3387 from hashicorp/f-aclless-health
Agent Health Endpoint
2017-10-16 11:05:09 -07:00
Alex Dadgar 24eff68c37 clarify duration 2017-10-16 10:08:35 -07:00
Alex Dadgar 8540be6964 api 2017-10-15 21:15:14 -07:00
Alex Dadgar e961e36046 quota api 2017-10-15 16:41:24 -07:00
Alex Dadgar c3f06b2134 Merge pull request #3384 from hashicorp/f-self-policies
Ability to introspect self token
2017-10-13 17:11:22 -07:00
Alex Dadgar b6d2d1f6af List does json/template 2017-10-13 16:37:33 -07:00
Alex Dadgar f0215b91e6 add missing namespace commands 2017-10-13 16:32:47 -07:00
Alex Dadgar 919fc3ce70 policy list and token self commands 2017-10-13 16:31:46 -07:00
Alex Dadgar 96ef879c24 Self token lookup 2017-10-13 16:31:46 -07:00
Alex Dadgar 377e63dc60 ListPolicies and GetPolicy work w/o management token 2017-10-13 16:31:46 -07:00
Alex Dadgar bf88fd8dd1 quota command docs 2017-10-13 16:16:36 -07:00
Michael Schurter c53aac9eea Agent Health Endpoint 2017-10-13 15:37:44 -07:00
Alex Dadgar c1cc51dbee sync 2017-10-13 14:36:02 -07:00
Alex Dadgar dd3920d681 Self token lookup 2017-10-13 13:12:20 -07:00
Alex Dadgar 5d4f467519 ListPolicies and GetPolicy work w/o management token 2017-10-13 13:12:20 -07:00
Alex Dadgar 56c4a50ba1 vault_grace doc 2017-10-13 10:15:44 -07:00
Adam Stankiewicz eb4dd2f3ba
Fix typo: job -> task 2017-10-13 11:51:17 +02:00
Alex Dadgar 5940a1fbde Merge pull request #3373 from hashicorp/f-403
Permission denied results in 403
2017-10-12 15:47:29 -07:00
Alex Dadgar b5fc557253 ACL command options 2017-10-12 13:51:39 -07:00
Rob Genova 316a4e0ac2 Update sentinel-policy.html.markdown 2017-10-12 12:56:55 -07:00
Alex Dadgar ca1da307e3 Merge pull request #3361 from hashicorp/d-ui
UI command documentation
2017-10-12 09:42:22 -07:00
Alex Dadgar eafaba0e81 Update ui.html.md.erb 2017-10-12 09:42:11 -07:00
Michael Schurter e9c17c56d1 Merge pull request #3353 from hashicorp/f-acl-prefix-search
Prefix Search ACL enforcement
2017-10-11 20:26:03 -07:00
Alex Dadgar 0c529f87a5 UI command documentation 2017-10-11 18:24:58 -07:00
Alex Dadgar 961eb4c40e documentation 2017-10-11 17:48:18 -07:00
Michael Schurter be69374ecd Prefix Search ACL enforcement 2017-10-11 17:00:12 -07:00
Michael Schurter d82db5ab45 Merge pull request #3351 from hashicorp/f-acl-system
System ACL enforcement
2017-10-11 16:32:50 -07:00
Michael Schurter 976ed8d4bc Merge pull request #3347 from hashicorp/docs-federated-ports
Mention network connectivity in federation guide
2017-10-11 16:28:10 -07:00
Michael Schurter 4862ea60f8 Mention network connectivity in federation guide 2017-10-11 16:27:53 -07:00
Michael Schurter 8c1a97765e Merge pull request #3339 from hashicorp/f-acl-force-periodic
Force Periodic ACL enforcement
2017-10-11 16:26:29 -07:00
Michael Lange b3d012a9f2 List query params on the API UI docs page 2017-10-11 15:49:18 -07:00
Tim Gross 1c44d54842 update docker.auth.helper to note hardcoded prefix 2017-10-11 16:19:40 -04:00
Rob Genova 593b9efbca Update api.erb 2017-10-11 11:02:52 -07:00
Michael Schurter 0d27053aab Operator ACL enforcement 2017-10-10 15:18:19 -07:00
Michael Schurter 0cf7a3950b Force Periodic ACL enforcement 2017-10-10 15:16:41 -07:00
Michael Schurter 4e005d4753 System ACL enforcement
Enforce ACL for System.GarbageCollect and System.ReconcileJobSummaries
RPC endpoints.
2017-10-10 10:53:10 -07:00
Michael Schurter 492c861419 /v1/client/agent/* ACL enforcement 2017-10-09 12:18:54 -07:00
Michael Schurter 04adc987ed /v1/client/allocation/./{stats,gc} ACL enforcement 2017-10-09 12:13:52 -07:00
Michael Schurter 40e5a56036 Merge pull request #3329 from hashicorp/f-acl-client-stats
/v1/client/stats ACL enforcement
2017-10-09 12:06:43 -07:00
Michael Schurter 84d82d79bb /v1/client/stats ACL enforcement 2017-10-09 12:02:32 -07:00
Michael Schurter 289f7d76bc Merge pull request #3343 from hashicorp/docs-client-gc
Document /v1/client/gc endpoint
2017-10-09 11:49:07 -07:00
Michael Schurter dce2479147 Document /v1/client/gc endpoint 2017-10-09 11:27:28 -07:00
Michael Schurter a7450c8633 FS HTTP API ACL enforcement
ACL enforcement for the filesystem HTTP APIs on clients.
2017-10-09 11:06:34 -07:00
Chelsea Komlo 7c8a5228d4 Merge pull request #3290 from hashicorp/f-acl-job-dispatch
Add ACL for dispatch job
2017-10-06 13:33:21 -04:00
Nicolas Corrarello 2070aa1e12 Minor cosmetic fix 2017-10-06 17:34:35 +01:00
Nicolas Corrarello fe76453812 Added Vault documentation for integrating with Identity Systems 2017-10-06 17:32:26 +01: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 22169a7cd4 Eval.Allocations ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Schurter b3db8f41fd Eval.List ACL enforcement 2017-10-03 14:57:47 -07:00
Michael Schurter fae1be5ab2 Eval.GetEval ACL enforcement 2017-10-03 14:57:47 -07:00
Chelsea Holland Komlo 86f7cbf8e8 add documentation for dispatch-job 2017-10-03 13:18:52 -04:00
Michael Schurter bd6418aa27 Deployment.Allocations ACL enforcement 2017-10-02 15:23:29 -07:00
Michael Schurter 08c82eb00f Deployment.List ACL enforcement 2017-10-02 15:13:56 -07:00
Michael Schurter 60a7dc3c83 Deployment.SetAllocHealth ACL enforcement 2017-10-02 15:02:18 -07:00
Michael Schurter c9d2c62d0b Deployment.Promote ACL enforcement 2017-10-02 14:31:58 -07:00
Michael Schurter 0409a54f19 Deployment.Pause ACL enforcement 2017-10-02 14:25:32 -07:00
Michael Schurter b888e49df4 Deployment.Fail ACL enforcement 2017-10-02 14:23:33 -07:00
Chelsea Komlo 97e34725e1 Merge pull request #3278 from hashicorp/f-acl-job-getjob
Add ACL for GetJob
2017-09-29 17:44:31 -04:00
Chelsea Komlo 388cdaa2e8 Merge pull request #3272 from hashicorp/f-acl-job-stable
Add ACL endpoint for Job Stable
2017-09-29 17:44:09 -04: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
Alex Dadgar b772fb650e Merge pull request #3293 from hashicorp/f-self-token
Allow querying self token
2017-09-29 10:54:37 -07:00
Michael Schurter d951568754 Mention Docker for Windows caveats 2017-09-28 17:22:25 -07:00
Chelsea Komlo 3a015016cc Merge pull request #3294 from hashicorp/f-acl-job-deregister
Add ACL for job deregister
2017-09-28 10:57:51 -04:00
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 c0802f0f1e bump version 2017-08-28 22:30:22 -07:00
Michael Schurter 468c8adfc2 Nomad 0.6.1 2017-08-28 16:26:27 -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
James Rasell 07e3bed923 Update job.html read most recent deployment sample
The sample request incorrectly used `https://nomad.rocks/v1/job/my-job/deployments` which listed all deployments for the specified job. The sample request has therefore been updated to use the correct endpoint which returns only the jobs most recent deployment.
2017-08-08 10:47:24 +01: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
Charlie Voiselle da14a95051 Added code block styling 2017-08-07 17:34:18 -04:00
Charlie Voiselle 37ec2e3f54 Re-added Allocations documentation
In a content reorganization, the allocations endpoint documentation was removed.  This just brings it back in and updates the output to match v0.6.0 output
2017-08-07 17:28:06 -04:00
Alex Dadgar fb857ceca9 Merge pull request #2974 from nak3/fix-monitoring-docs
docs: fix tiny errors in monitoring spark app
2017-08-07 11:15:02 -07:00
Alex Dadgar 2470faccb3 Merge pull request #2975 from nak3/fix-link-hdfs
docs: fix invalid links for hdfs examples
2017-08-07 11:14:29 -07:00
Alex Dadgar a5c5b54fed Update requirements.html.md
Fixes https://github.com/hashicorp/nomad/issues/2976
2017-08-07 09:58:02 -07:00
Kenjiro Nakayama 8634344d9e docs: fix invalid link for hdfs examples 2017-08-06 14:24:51 +09:00
Kenjiro Nakayama c48a08b7b9 docs: fix tiny errors in monitoring spark app 2017-08-06 14:22:56 +09: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
Jeremy Voorhis 8e029eefde Spelling and grammar fixes for bootstrap guide. 2017-08-03 20:45:44 -07:00
Seth Vargo c139711b38
Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 15:03:37 -04:00
Jonathan Cross c5b107d916 fix wording 2017-08-02 13:54:49 -04:00
Jonathan Cross 65b4141f91 add third party client library link for python 2017-08-02 13:51:37 -04:00
Kate Taggart 99455679cf fix typo. 2017-08-02 00:39:08 -07:00
Michael Schurter 170a5a1ede Add $ prefix to shell examples 2017-08-01 17:37:13 -07:00
Michael Schurter af237a4273 Reflow 2017-08-01 17:13:37 -07:00
Michael Schurter cc1b3ccf1f Sort filenames 2017-08-01 17:06:56 -07:00
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