Commit graph

748 commits

Author SHA1 Message Date
Alex Dadgar fc8254d157 Update node-status docs 2016-06-16 14:50:41 -07:00
Alex Dadgar a919fe45e1 Merge pull request #1296 from hashicorp/d-status-cli
Update status docs
2016-06-16 14:31:11 -07:00
Alex Dadgar 31b1267445 Update status docs 2016-06-16 14:00:45 -07:00
Diptanu Choudhury ed67f1a347 Merge pull request #1285 from hashicorp/fix-selinux-options
Added a client options for setting selinux options
2016-06-16 22:45:24 +02:00
Diptanu Choudhury 266c417ac8 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Alex Dadgar 8765c25ce2 correct the dynamic port specification 2016-06-16 11:27:42 -07:00
Diptanu Choudhury 018a8ab6b0 Merge pull request #1273 from hashicorp/docs-stats
Added the docs for the stats http api endpoint
2016-06-15 15:46:38 +02:00
Diptanu Choudhury 3fda196a5a Fixed the nav links to stats APIs 2016-06-15 15:46:17 +02:00
Diptanu Choudhury f07eec2824 Added the links to the stats pages on the sidebar 2016-06-15 12:11:56 +02:00
Diptanu Choudhury fa216199ce Added documentation 2016-06-15 02:42:15 +02:00
Alex Dadgar edef5e763a Fix defaults and updates 2016-06-14 16:51:18 -07:00
Alex Dadgar 85acb0877f address comments 2016-06-14 15:40:48 -07:00
Alex Dadgar aea21affdb Document consul configuration 2016-06-14 15:21:57 -07:00
Diptanu Choudhury 9e59d3c22d Added the docs for the http api endpoint 2016-06-14 03:00:53 +02:00
Chris Bednarski 02385f0dbc Change Modfied to Modified 2016-06-13 15:09:13 -07:00
Alex Dadgar 3bef934580 Document user only availabe on linux 2016-06-12 14:33:45 -07:00
Alex Dadgar 480a281031 Merge pull request #1243 from hashicorp/f-run-modify-index
Add check-index flag to nomad run
2016-06-11 16:12:53 -07:00
Sean Chittenden bff57a0dce
Reconcile, clean up, and centralize API version numbers (major and minor).
Reduce future confusion by introducing a minor version that is gossiped out
via the `mvn` Serf tag (Minor Version Number, `vsn` is already being used for
to communicate `Major Version Number`).

Background: hashicorp/consul/issues/1346#issuecomment-151663152
2016-06-10 15:50:11 -04:00
Alex Dadgar 5d181d203c Add check-index flag to nomad run 2016-06-08 17:56:32 -07:00
Matthias bbc4692b02 Change 'fs ls' cmd to 'fs' cmd 2016-06-08 20:58:20 +02:00
Alex Dadgar 77dd3af134 docs 2016-06-07 11:33:55 -07:00
Joe Shaw eaa8ffe4c6 add make bootstrap step for source compilation
Without this the codecgen tool is missing and compilation fails.
2016-06-06 13:33:54 -04:00
Pete Shima 478e0eae2d Add s3 examples to json docs as well 2016-06-03 14:35:43 -07:00
Pete Shima 598653a467 Add several more s3 examples to artifact docs 2016-06-03 14:08:05 -07:00
Alex Dadgar 4dd7b621f0 Merge pull request #1206 from hashicorp/f-eval-status
Introduce eval-status and deprecate eval-monitor
2016-05-31 11:19:44 -07:00
Henrique M. Gontijo 540061da86 Update alloc.html.md
Updating the Allocation documentation page.
Issue: https://github.com/hashicorp/nomad/issues/1190
2016-05-28 21:49:34 -07:00
Alex Dadgar 55d48196b2 eval-status website docs 2016-05-27 11:50:15 -07:00
Daniel Kerwin df7f5175a8 Add support for shm_size to docker driver. Required update of go-dockerclient
to more recent version (ba4298ecf4cfa216f1cce2befbf653359f62c722).
2016-05-27 12:30:04 +02:00
Alex Dadgar a4bb011a43 Merge pull request #1203 from hashicorp/f-gzip
Compress HTTP API responses
2016-05-24 13:36:13 -07:00
Alex Dadgar 2a4d5f0ef9 Compress HTTP API responses and have the api client utilize this 2016-05-24 10:26:53 -07:00
George Hartzell 8c7c693222 typo: beings -> begins 2016-05-23 16:57:49 -07:00
Alex Dadgar 157833b3a1 Merge pull request #1150 from hashicorp/f-fs-command
Refactor fs subcommands into fs command
2016-05-16 11:05:29 -07:00
Jake Champlin 5412c29edb
Update per comments 2016-05-16 13:17:37 -04:00
Sean Chittenden dc28ab0cb5
Speling police 2016-05-15 09:41:34 -07:00
Alex Dadgar 66620ccc23 Merge pull request #1161 from hashicorp/d-json-corrections
Json clean up + fixed variable names
2016-05-09 17:04:05 -07:00
Alex Dadgar dae8b9c8fb Merge pull request #1162 from hashicorp/d-telemetry
Describe key metrics
2016-05-09 17:03:47 -07:00
Alex Dadgar 4fe3baf726 describe interval 2016-05-09 17:03:04 -07:00
Alex Dadgar 474314b9ed Json clean up + fixed variable names 2016-05-09 16:23:25 -07:00
Alex Dadgar 2567f154c7 Document key metrics 2016-05-09 16:04:41 -07:00
Jake Champlin 1a0573136b
Update documentation 2016-05-09 09:57:37 -04:00
Justin Carter b43338b59a -config needed to pass multiple config files
When trying the command above with just 1 -config option specified only the config from the first file was picked up.
2016-05-08 10:53:46 +02:00
Diptanu Choudhury ac0bbc407e Merge pull request #1118 from hashicorp/docs-discovery-json
Added docs for json representation of service discovery objects
2016-05-03 01:15:12 -07:00
Seth Vargo 3f5783af2e
Track enhanced links 2016-05-02 16:00:10 -04:00
Pete Shima 432325d944 Fix typo in force-leave docs 2016-05-01 13:00:04 -07:00
Seth Vargo 377dfd3ade
Do not allow referrer to modify the sender
http://mathiasbynens.github.io/rel-noopener/
2016-04-22 23:37:55 -04:00
Diptanu Choudhury 2f5575962d Added doc for the SSL key of the docker driver config 2016-04-22 13:23:22 -07:00
Diptanu Choudhury 5a63d58075 Added docs for json representation of service discovery objects 2016-04-22 11:15:49 -07:00
Norman Harebottle III ab46ce3970 Minor grammar fix. (#1114)
Added a missing "is" to complete the last sentence.
2016-04-21 13:15:01 -07:00
Diptanu Choudhury 0b7ba9a592 Fixed the docs around service discovery 2016-04-19 14:47:04 -07:00
Alex Dadgar 67865ab530 Merge pull request #1073 from hashicorp/http-advertise-addr-docs
Added docs for http advertise addr
2016-04-18 10:17:21 -07:00
Diptanu Choudhury 03f64f1352 Ensuring that the docs says that the advertise block works on both server and client nodes 2016-04-16 01:30:39 -07:00
Alex Dadgar 3818d3013d Merge pull request #1099 from hashicorp/f-ip-port-var
Add IP and PORT environment variables
2016-04-15 11:33:16 -07:00
Alex Dadgar 6ffad28961 nomad inspect docs 2016-04-15 11:13:26 -07:00
Alex Dadgar 8256396f1e Add IP and PORT environment variables 2016-04-15 11:01:32 -07:00
Alex Dadgar ef7dde912e Clarify blocking query docs 2016-04-15 10:33:43 -07:00
Alex Dadgar 32e207c2da improved JSON docs 2016-04-14 16:47:24 -07:00
Alex Dadgar a5a75e11d9 website 2016-04-14 13:04:04 -07:00
Alex Dadgar b83ea0ff8b docs 2016-04-14 10:57:42 -07:00
Alex Dadgar 78adfa8ed6 changelog + docker GC cleanup 2016-04-14 10:52:38 -07:00
Alex Dadgar f7fb21db18 Merge pull request #1074 from hashicorp/f-periodic-utc
Periodic jobs always are evaluated in UTC TZ
2016-04-12 17:18:45 -07:00
Seth Vargo 5ee91c6a65 Only pubish a single, combine js artifact 2016-04-12 20:30:14 +01:00
Alex Dadgar 273dfaf2c7 Periodic jobs always are evaluated in UTC TZ 2016-04-12 09:47:25 -07:00
Diptanu Choudhury 9d6e4ddbc2 Added docs for http advertise addr 2016-04-12 08:34:04 -07:00
Alex Dadgar 60153ed845 Add -self flag to node-drain 2016-04-11 15:20:49 -07:00
Diptanu Choudhury 953127fff7 Merge pull request #1053 from hashicorp/remove-interfaces
removing interfaces from config
2016-04-09 09:18:17 -07:00
Alex Dadgar b170be12ea Merge pull request #1058 from ketzacoatl/patch-1
Dropped `node_id` from docs, per #675
2016-04-08 11:26:04 -07:00
Paul Hinze 044978783f client/docker: add interactive option
Equivalent to `docker run --interactive` - keeps STDIN open.

Also adds docs for both `tty` and `interactive` docker config.
2016-04-08 12:51:07 -05:00
ketzacoatl 640a03397e Dropped node_id from docs, per #675
Specifically, see https://github.com/hashicorp/nomad/blob/master/CHANGELOG.md#030

> Node ID is no longer specifiable. For users who have set a custom Node ID, the node should be drained before Nomad is updated and the data_dir should be deleted before starting for the first time [GH-675]
2016-04-08 13:48:43 -04:00
Diptanu Choudhury e00f8426d8 Removing the interfaces block from docs 2016-04-07 13:31:32 -07:00
K.C. Wong 4709a46026 Clarify how priority is ordered
* It wasn't exactly obvious to me that larger values reflect
  higher priority.
2016-04-05 10:31:26 -07:00
Diptanu Choudhury 7d7c89b0c2 Merge pull request #1032 from cosmopetrich/master
Fix syntax errors in example JSON job spec
2016-04-05 00:20:25 -07:00
Cosmo Petrich a8aa845dd2 Fix syntax errors in example JSON job spec 2016-04-05 14:25:19 +10:00
Sheldon Kwok a972d56d2d Update alloc.html.md
Fix very minor spelling error.
2016-04-01 14:56:12 -07:00
Diptanu Choudhury 50ce00c566 Merge pull request #1011 from hashicorp/f-docker-load
Added ability to create image from archive
2016-03-30 21:25:13 -07:00
Diptanu Choudhury 2601468708 Making the load a list of strings and added website docs 2016-03-30 17:23:29 -07:00
Alex Dadgar 055f30a824 Add options documentation for go-getter 2016-03-30 15:22:04 -07:00
Alex Dadgar 7bee675b6c node-status -self command and docs 2016-03-29 12:36:24 -07:00
Diptanu Choudhury d69418b20b Updated the docs 2016-03-28 15:02:00 -07:00
Diptanu Choudhury 8e575bdfb1 Merge pull request #992 from hashicorp/f-script-checks-docs
Added docs for script checks
2016-03-28 14:27:26 -07:00
Diptanu Choudhury c07f13c7c5 Removing extra chars 2016-03-28 14:26:31 -07:00
Diptanu Choudhury a99f20ef9f Updated docs 2016-03-28 14:25:15 -07:00
Diptanu Choudhury ab557b0f0c Corrected docs 2016-03-28 10:06:44 -07:00
Diptanu Choudhury 2bc5e78e9e Added docs 2016-03-27 23:21:50 -07:00
Diptanu Choudhury 9acdc48e52 Added docs for script checks 2016-03-26 13:10:15 -07:00
Alex Dadgar 9850440d27 Merge pull request #987 from hashicorp/website-update-middleman-toc
website: update middleman and link to header
2016-03-25 18:55:20 -07:00
Alex Dadgar 1b6e772681 JSON page docs 2016-03-25 18:34:01 -07:00
Alex Dadgar f9a48e23f9 nomad run -output emits the JSON representation of the job 2016-03-25 18:24:51 -07:00
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