Commit graph

661 commits

Author SHA1 Message Date
Alex Dadgar 647c20e465 Merge pull request #978 from hashicorp/f-enforce-user
Operator specifiable blacklist for task's using certain users
2016-03-25 12:44:05 -07:00
Alex Dadgar f43891a790 swap raw_exec and qemu in the blacklist 2016-03-25 12:43:50 -07:00
Jack Pearkes d344d77b03 website: update middleman and link to header
Following up with linking these following https://github.com/hashicorp/middleman-hashicorp/pull/24
being merged.
2016-03-25 10:16:19 -07:00
Alex Dadgar 45dfae8f6f Operator specifiable blacklist for task's using certain users 2016-03-24 10:55:14 -07:00
Jack Pearkes f11d1aec58 wbsite: document default resources
Pulled this info from https://github.com/hashicorp/nomad/blob/master/nomad/structs/structs.go#L623-L630 and https://github.com/hashicorp/nomad/blob/master/nomad/structs/structs.go#L769.
2016-03-24 09:44:24 -07:00
Alex Dadgar fc0e48b0ec Merge pull request #950 from mssola/raw-exec-user
client: added the "user" option to tasks
2016-03-24 08:57:13 -07:00
Alex Dadgar f3d09755c5 Pass environment variables from host to exec based tasks 2016-03-23 13:01:45 -07:00
Miquel Sabaté Solà 8c56c64615 client/driver: added the user config value
This way Nomad allows to set which user has to run the task.

Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
2016-03-23 12:57:31 +01:00
Pete Shima bac9f25d18 [Docs] Small update to retry join documentation 2016-03-22 21:43:38 -07:00
Alex Dadgar 4689396c53 Merge pull request #964 from hashicorp/d-clarify-distinct-hosts
docs: Clarify distinct_hosts constraint
2016-03-22 15:00:38 -07:00
Alex Dadgar f8ec21bd34 clairfy distinct_hosts constraint 2016-03-22 14:59:53 -07:00
Alex Dadgar 7d2931d61f Clarify client options in drivers 2016-03-22 14:29:47 -07:00
Alex Dadgar f853692081 clarify server join 2016-03-21 21:49:34 -07:00
Alex Dadgar 661b25bd27 Document operator equality 2016-03-21 21:36:15 -07:00
Diptanu Choudhury 82908d5fa9 Merge pull request #941 from hashicorp/f-interface-name
Use an interface name to find the bind addr for rpc, http and serf components
2016-03-20 23:57:44 -07:00
Diptanu Choudhury 49de335543 Added docs for the website 2016-03-20 23:34:38 -07:00
Alex Dadgar c85dfdf9a0 Merge branch 'master' into f-artifact-location 2016-03-19 12:50:44 -07:00
Alex Dadgar 452aacd5f3 Documentation 2016-03-19 12:35:58 -07:00
Diptanu Choudhury 4371904813 Merge pull request #940 from hashicorp/f-docs-minor-interpreted-updates
Minor updates to Interpreted Variables docs
2016-03-19 00:15:18 -07:00
Pete Shima ecd798b3ac Minor updates to Interpreted Variables docs 2016-03-18 21:32:56 -07:00
Pete Shima a37670974c Add slightly more detail to the Nomad upgrade guide. 2016-03-18 20:43:31 -07:00
Alex Dadgar 9b9579b763 Merge pull request #929 from kaskavalci/patch-3
Update confusing terms in scheduling.html.md
2016-03-18 14:49:43 -07:00
Jake Champlin 4f01d2f8bf Allow fs commands to use job-id
Adds `-job` flag argument to `nomad fs` commands to randomly lookup a
job's allocation-id to use in an `fs` command.

Can be used when debugging a job, where a specific allocation ID is not
a strict requirement.
2016-03-18 15:05:35 -04:00
Halil Kaskavalci 05fbf7292c Typo
Copy & paste isn't the best practice
2016-03-18 08:25:23 +02:00
Halil Kaskavalci 9f91590bbd Rephrase the sentence 2016-03-18 08:19:28 +02:00
Halil Kaskavalci 31953f55e4 Update confusing terms in scheduling.html.md
I think it creates confusion for new learners to call clients as nodes. A node may not have Nomad agent running and jobs can only be scheduled to clients.
2016-03-17 15:47:46 +02:00
Jack Pearkes 8037af66db website: change mid-page headline
Once the banner comes down this will continue pointing to the C1M.

cc/ @dadgar
2016-03-16 14:15:13 -07:00
Alex Dadgar 7773ec21ee Update announce banner 2016-03-16 12:32:57 -07:00
Alex Dadgar 58943cf5cc fix getting started page 2016-03-16 12:23:42 -07:00
Jack Pearkes da0cd30919 website: add announcement banner content 2016-03-16 11:32:15 -07:00
captainill 699e816797 pixel fix 2016-03-16 11:32:15 -07:00
captainill 0043d7f916 announcement bnr 2016-03-16 11:32:15 -07:00
Diptanu Choudhury e680c145f8 Merge pull request #925 from hashicorp/json-api-docs
Documented the json api for job submission
2016-03-16 11:18:32 -07:00
Diptanu Choudhury dd34885bad Documented the json api for job submission 2016-03-16 11:10:37 -07:00
Alex Dadgar 40adf40549 document artifact downloading 2016-03-16 09:56:04 -07:00
Alex Dadgar 719f5d34ed Merge pull request #910 from hashicorp/f-reserved-resources
Reserve Client Resources + Config Validation
2016-03-15 21:09:13 -07:00
Alex Dadgar 0fb03ff2db Merge pull request #921 from hashicorp/f-artifact-download
Allow downloading many artifacts and support unarchiving
2016-03-15 21:08:55 -07:00
Alex Dadgar 4f02739ea3 artifact docs 2016-03-15 21:05:37 -07:00
Diptanu Choudhury 9ad359693e Merge pull request #922 from hashicorp/docs-alloc-status
Explanded getting-started and alloc-status
2016-03-15 20:04:24 -07:00
Diptanu Choudhury 4ed057cef4 Explanded getting-started and alloc-status 2016-03-15 19:35:31 -07:00
captainill 8e81dc7ff8 update sidebar. change layout specified in http/index 2016-03-15 17:54:09 -07:00
Diptanu Choudhury 63b23c4e65 Added docs for the file system apis 2016-03-15 15:59:36 -07:00
Alex Dadgar b3ab4ff5b9 Merge pull request #915 from hashicorp/f-valid-service-names
Require RFC-1123 and RFC-2782 valid service names
2016-03-15 11:34:26 -07:00
Dmitry Smirnov 7c3bb51cfa codespell: minor spelling corrections
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2016-03-16 05:28:31 +11:00
Sean Chittenden 935fcc020f Restrict the service name to match RFC-1123 and RFC-2782 2016-03-14 17:44:59 -07:00
Alex Dadgar 31e2cb36ba fix docs to reflect that resources are given as MB 2016-03-14 11:17:05 -07:00
Matt ef5612212e Typo in docker.html.md
Fixing misspelling in docs.
2016-03-14 10:01:40 -04:00
Alex Dadgar 2a57a403cb documentation 2016-03-13 19:21:40 -07:00
Alex Dadgar 2ccfb43c7a Merge pull request #892 from achanda/rkt_dns
Enable passing DNS info to the rkt driver
2016-03-10 08:54:26 -08:00
Alex Dadgar 8ad65876bf Add allocation index environment variable 2016-03-09 18:09:51 -08:00
Abhishek Chanda 3260254cb4 Enable passing DNS info to the rkt driver 2016-03-08 18:59:11 -08:00
Erik Evenson bef4b0d9b6 Merge branch 'master' into study/aws-ecr-1 2016-03-06 18:18:20 -06:00
Alex Dadgar 82d8210287 Remove documentation about assigning node-id 2016-03-04 10:36:30 -08:00
Jake Champlin 4e6737651a Only fetch running allocs, use args, add docs
Only fetch running allocations, not total allocated ids, add
documentation, and cleanup things.
2016-03-03 14:09:07 -05:00
Alex Dadgar d7ebd7ab5e Merge pull request #869 from hashicorp/f-alloc-id-env
Add Alloc ID/Name and Task Name to environment variables
2016-03-02 13:58:47 -08:00
Pete Shima d34e5fe52f Fix capitalization of Nomad in doc update 2016-03-01 23:52:42 -08:00
Pete Shima 1374ba8101 Add a specific doc entry for the common error you may see when you are
using the exec driver and not running as root.
2016-03-01 23:51:11 -08:00
Alex Dadgar f8b047e088 Add Alloc ID/Name and Task Name to environment variables 2016-03-01 16:08:21 -08:00
Adrián López Gómez 0a510eac77 /v1/system/gc - PUT method 2016-03-01 18:40:39 +01:00
Erik Evenson b2a1710614 updates docs 2016-02-27 12:10:36 -06:00
Alex Dadgar 4a56aea61c Merge pull request #852 from hashicorp/d-upgrading
Add upgrading documentation
2016-02-25 10:00:43 -08:00
Alex Dadgar 5e85f5bd0c Add upgrading documentation 2016-02-24 20:11:16 -08:00
Alex Dadgar d5bfd20260 add documentation for system gc endpoint and update log docs 2016-02-24 15:38:32 -08:00
Diptanu Choudhury 758c1f1a63 Added docs for the log rotation 2016-02-22 13:47:04 -08:00
Stig Kleppe-Jørgensen 0164b53a33 Spelling: intepretable --> interpretable 2016-02-14 16:21:38 +01:00
Alex Dadgar cfdc5cbdbf Merge pull request #778 from zanella/doc_trailing_commas
Trailing comma typos
2016-02-11 12:19:43 -08:00
Alex Dadgar e6e7c395df Merge pull request #775 from hashicorp/d-interpreted-vars
Documentation for interpreted variables
2016-02-11 08:40:31 -08:00
Alex Dadgar 7e84def2e5 Fix eval doc 2016-02-08 21:16:28 -08:00
Alex Dadgar 3ed40dde59 Update alloc.html.md 2016-02-08 14:31:48 -08:00
Rafael Zanella e8d08e2d21 Trailing comma typos
WIP - https://github.com/zanella/nomad-api
2016-02-07 11:06:47 -02:00
Diptanu Choudhury 957a446edf Merge pull request #773 from hashicorp/docker-auth
Reading dockercfg files for authenticating with private registries
2016-02-06 18:03:39 -08:00
Alex Dadgar 68d4e2f397 Small getting started cleanup 2016-02-06 15:40:39 -08:00
Alex Dadgar 40f510f168 interpreted variable docs 2016-02-06 15:35:07 -08:00
Diptanu Choudhury d0b6fb1993 Updated the docker auth config 2016-02-06 05:47:56 -08:00
Diptanu Choudhury 745bfaae7b Reading dockercfg files for authenticating with private registries 2016-02-06 05:43:30 -08:00
Alex Dadgar a1ae42f7da Update getting started with short ids 2016-02-05 16:28:20 -08:00
Rafael Zanella da4262e22d Trailing comma typo 2016-02-05 20:03:10 -02:00
Alex Dadgar 5018f5dd1e Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
Alex Dadgar 77b89d15e4 Extract artifacts to the root of the task, not in the local directory 2016-02-04 15:18:22 -08:00
Alex Dadgar 6f20d3f435 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar 2d98c0eadd Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
Alex Dadgar 19e636c9aa Small doc rewording 2016-01-30 16:40:46 -08:00
Alex Dadgar f8b99e7da3 Merge pull request #722 from iverberk/f-double-alloc-update
Add new RPC call to fetch a lightweight list of allocation information.
2016-01-30 16:39:09 -08:00
Ivo Verberk eaad44edbc Add documentation for new clientallocations endpoint 2016-01-29 20:28:16 +01:00
Alex Dadgar 62133cd39e Changelog 2016-01-29 08:55:06 -08:00
Alex Dadgar 3b8e7a75d2 Merge pull request #704 from iverberk/f-env-ports
Pass a combination of ip and port to the task environment.
2016-01-29 08:53:47 -08:00
Ivo Verberk 516c5adbf2 Documentation update for the new port environment variables. 2016-01-29 17:48:24 +01:00
Alex Dadgar 415908d5de Merge pull request #721 from irobert91/patch-1
Remove double "to" in jobs http docs
2016-01-29 08:42:14 -08:00
Alex Dadgar c76c6a203e Merge pull request #720 from hashicorp/f-optional-port-update-servers
Allow ports to be optional when adding servers
2016-01-29 08:40:52 -08:00
Robert Ignat 1ae9c4f48d Remove double "to" in jobs http docs 2016-01-29 14:32:14 +01:00
Jake Champlin 729742e575 Document Agent config as well 2016-01-29 00:20:17 -05:00
Jake Champlin 4102e95105 Add in some docs 2016-01-29 00:16:02 -05:00
Ryan Slade cbd6d6217c Replace "delay" with "interval" in Service Discovery docs
Delay appears to be incorrect. 

I was unable to get Consul checks working until I changed it to "interval"
2016-01-28 11:09:59 +02:00
Diptanu Choudhury 8bbbfb188d Added synopsis of fs sub commands in the docs 2016-01-27 22:19:03 -08:00
Diptanu Choudhury 0d56c4426a Added the docs 2016-01-27 22:05:22 -08:00
James Phillips 7f1dcd19db Cleans up some small typos in the service discovery page. 2016-01-26 21:09:03 -08:00
Seth Vargo 77fe454c9d Add structured data 2016-01-24 13:44:21 -05:00
Diptanu Choudhury fc178b9319 Added the docs 2016-01-22 11:01:32 -08:00
Mitchell Hashimoto bbea78e4d0 Update K8S vs from Twitter
This is an update from the Twitter conversation here: https://twitter.com/asynchio/status/690357014925549568

The changes made should both be based on fact from everyone involved.
2016-01-21 22:06:12 -08:00
Alex Dadgar deb3c5c69e Document TaskStates 2016-01-21 16:03:48 -08:00
Alex Dadgar 36966ad2fe Chroot documentation 2016-01-21 15:02:51 -08:00
Alex Dadgar 248b20ae24 Merge pull request #675 from nautsio/f-cli-short-ids
Shorten CLI identifiers
2016-01-19 15:11:41 -08:00
Ivo Verberk c1829e7f1f Update website documentation 2016-01-20 00:01:26 +01:00
Alex Dadgar 041bcc36c5 Merge pull request #668 from hashicorp/f-force-spawn
Force spawn periodic jobs
2016-01-19 11:37:18 -08:00
Alex Dadgar 5e900b94d0 Move endpoint to be under job 2016-01-19 11:09:36 -08:00
Alex Dadgar fc8a541752 Merge pull request #672 from MansM/master
changed agent-status to agent-info as agent-status does not exist
2016-01-14 08:19:41 -08:00
Alex Dadgar 08afeba499 Fix missing quote in driver docs 2016-01-14 08:14:57 -08:00
Ryan Slade ff8b50b8ee Update docker.html.md
Add a missing quote.
2016-01-14 17:58:40 +02:00
Mans Matulewicz e138b0b9d5 changed agent-status to agent-info as agent-status does not exist 2016-01-14 14:28:55 +01:00
Seth Vargo d54dc67835 Fix asset pipeline 2016-01-13 22:36:46 -05:00
Seth Vargo 15c4347f9f Always use HTTPS + www. 2016-01-13 22:10:08 -05:00
Alex Dadgar 999db4cd0f Docs 2016-01-13 10:47:22 -08:00
Alex Dadgar e41435e272 Documentation 2016-01-11 11:12:09 -08:00
Bastiaan Bakker 63f8f60314 add documentation for ipc_mode and uts_mode 2016-01-10 22:19:33 +01:00
Bastiaan Bakker fcfa8373b2 Add options ipc_mode, pid_mode and uts_mode to docker driver.
May only be used if priviliged mode is enabled in driver config.
2016-01-08 23:34:49 +01:00
Alex Dadgar 91be4970b7 Update jobspec with update and periodic block 2016-01-07 16:11:17 -08:00
Alex Dadgar ce22c049db Merge pull request #575 from nautsio/f-short-ids
Allow lookups based on short identifiers
2016-01-06 14:36:19 -08:00
Ivo Verberk 9527fc254d Improvements for short identifiers
* Fix tests
* Update documentation
2016-01-06 22:46:57 +01:00
Alex Dadgar 04e3eadff6 Improved update docs 2016-01-06 11:21:37 -08:00
Alex Dadgar 1e5c776e40 Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
2016-01-04 11:44:22 -08:00
Ivo Verberk 489d77b3ff Bring up-to-date with master 2015-12-29 12:20:12 +01:00
Ivo Verberk 15defdfc69 Documentation updates for short identifiers in the CLI 2015-12-29 12:17:16 +01:00
Alex Dadgar d6aa36b417 Merge pull request #618 from hashicorp/f-node-class-constraint
Add node class to constraints
2015-12-28 13:27:38 -08:00
Alex Dadgar ea799b88cb merge 2015-12-23 18:26:39 -08:00
Alex Dadgar ddf392c6be User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Alex Dadgar 2d16cb86ce Enforce absolute paths for alloc/state/data directories 2015-12-22 11:14:41 -08:00
Alex Dadgar f3dbccdb48 Update rkt docs 2015-12-22 10:37:45 -08:00
Abhishek Chanda 97b0fb3c49 Update some rkt docs 2015-12-23 00:05:25 +05:30
Alex Dadgar 5e71751a1d Add node class to constraints 2015-12-21 17:15:34 -08:00
captainill f1126897bc clean up footer 2015-12-20 12:22:10 -08:00
captainill c93ec4205d Hashicorp with capitol C in header 2015-12-19 21:13:00 -08:00
Alex Dadgar 0a17dc6eca Document jitter 2015-12-18 12:17:54 -08:00
Alex Dadgar 31c3e12957 merge 2015-12-18 12:17:13 -08:00
jorge.marey f2b89d2943 Fix dns_search_domains option in the documentation. 2015-12-15 22:22:58 +01:00
Alex Dadgar 7c76e8eca3 Merge pull request #527 from asteris-llc/master
Add cluster join command line options and configuration options
2015-12-09 13:14:00 -08:00
Chris Bednarski e636973924 Merge pull request #530 from hashicorp/docs-config
Corrected various errors and omissions configuration documentation
2015-12-04 11:47:33 -08:00
Chris Bednarski 3939eeb7a7 Reformatted so we don't have long lines 2015-12-04 11:47:20 -08:00
Chris Bednarski 842f40bf89 Corrected various errors and omissions configuration documentation 2015-12-02 23:21:14 -08:00
Diptanu Choudhury 0e1e862f4a Fixed typo
Fixes #528
2015-12-03 02:00:57 +01:00
Chris Aubuchon d8c4ec1c19 Fix broken link to start_join 2015-12-02 15:57:38 -06:00
Chris Aubuchon 017235cc33 Fix links to configuration options 2015-12-02 15:56:00 -06:00
Chris Aubuchon 94b3c3e789 Add new configuration options to docs 2015-12-02 15:51:46 -06:00
Alex Dadgar ba7fffa846 Update network docs 2015-11-30 14:18:31 -08:00
Bryant Luk 22e9711852 Verify Consul SSL by default
- Matches documentation default value and clarifies config
2015-11-28 19:58:09 -06:00
Alex Dadgar 126e180657 Merge pull request #508 from cdrage/master
Update rkt docs for > v.0.10.0 of rkt
2015-11-27 01:38:43 -08:00
Diptanu Choudhury e9a7307492 Fixing the docs 2015-11-26 19:45:16 -08:00
Diptanu Choudhury 998ed76710 Added docs and the changelog entry 2015-11-26 19:37:52 -08:00
Charlie Drage 922e88b1a9 Update rkt docs for > v.0.10.0 of rkt 2015-11-26 18:10:12 -05:00
Halil Kaskavalci 226987cf03 Typo
Fixed a typo, "applies" was written twice.
2015-11-26 16:02:40 +02:00
Diptanu Choudhury dbfe853445 Removed fingerprint docs from Service Discovery docs 2015-11-25 14:47:11 -08:00