Commit graph

793 commits

Author SHA1 Message Date
Alex Dadgar 0691b0e81b clean up stats 2016-06-24 18:00:29 -07:00
Alex Dadgar b8f3c1489c Unify the stats http API docs 2016-06-24 11:09:24 -07:00
Alex Dadgar d935e78ca9 plan api docs 2016-06-23 11:48:31 -07:00
Jake Champlin 5387e49c41 Merge pull request #1329 from hashicorp/f-read-job-from-stdin
Read Nomad Jobfile from STDIN if specified.
2016-06-22 17:46:58 -04:00
Jake Champlin b7292014e3
Update website docs 2016-06-22 17:09:50 -04:00
Diptanu Choudhury d37cccad67 Merge pull request #1336 from hashicorp/f-default-ssl-docker-registry
Making SSL default
2016-06-21 17:00:02 -07:00
Diptanu Choudhury 91062dd83c Updated docs 2016-06-21 16:55:23 -07:00
Lennie dd03a9f626 Added note/link to Vagrant installation instructions
So I spent an hour or more trying to figure out why Docker did not install, turns out installing vagrant from the Linux distribution is a stupid idea.

So hopefully a link will help prevent other people running into this problem.
2016-06-21 23:43:44 +02:00
Jake Champlin 1c2a5ad691
Remove debugging, add newline to website docs 2016-06-21 16:49:12 -04:00
Jake Champlin 84ad9925d7
Update from comments, initial test function 2016-06-21 16:46:42 -04:00
Alex Dadgar cf71cefc8e Website update 2016-06-20 22:10:12 -07:00
Sean Chittenden 304f895db5
Update the docs for installing from source 2016-06-16 21:42:47 -07:00
Alex Dadgar 8240e4b3a7 Merge pull request #1304 from hashicorp/d-plan-cli
plan cli docs
2016-06-16 17:24:24 -07:00
Alex Dadgar 2b26259f27 plan cli docs 2016-06-16 17:23:49 -07:00
Alex Dadgar 85548f46af Merge pull request #1299 from hashicorp/d-node-status
Update node-status docs
2016-06-16 17:21:37 -07:00
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 61fcebf296 initial refactor and cleanup 2016-06-12 11:19: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 452eacb6ef Bumping up the version of the website 2016-04-22 16:56:35 -07: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
Alex Dadgar f741e83401 Merge pull request #1082 from hashicorp/sethvargo/ws_md
Update website push script to fix metadata
2016-04-12 16:32:57 -07:00
Seth Vargo 5ee91c6a65 Only pubish a single, combine js artifact 2016-04-12 20:30:14 +01:00
Seth Vargo 34efff01ac Update website push script to fix metadata 2016-04-12 20:17:27 +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
Paul Hinze e91865916c website: force mime-types for some assets on deploy
Should fix occassional issues with application/octet-stream mime type
assets breaking things on the site.
2016-04-07 12:52:11 -05: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
Jack Pearkes a17e066f70 update middleman-hashicorp 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 6ed4880892 update version 2016-03-16 10:38:31 -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