Alex Dadgar
d2af5d22e4
rename files
2018-03-21 20:27:32 -07:00
Alex Dadgar
b5bee9e06b
use subcommands
2018-03-21 20:27:32 -07:00
Preetha Appan
63c1d35928
Fixes nomad validate that broke when changing default values in example.nomad
2018-02-05 17:22:13 -06:00
Preetha Appan
f91126a5cb
Fix nomad init to use default values for restart stanza
2018-01-31 16:43:29 -06:00
Michael Schurter
9fcda9c5aa
Make example service name make sense
...
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:
https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ
Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Slobodan Mišković
7b5e5d695b
Spelling fix: stana -> stanza
2017-08-16 23:32:41 -07:00
Michael Schurter
9099371a42
Mention restart
2017-07-25 16:26:42 -07:00
Michael Schurter
da6a5ddaf0
Mention env templates in nomad init
2017-07-25 10:28:50 -07:00
Alex Dadgar
53bcc6a2cc
spelling errors
2017-07-17 11:19:37 -07:00
Alex Dadgar
129d5fd4c3
Update init command to show new update stanza.
2017-07-16 11:12:43 -07:00
Sergey Mezentsev
0078af8b08
Remove 'disk space' from docs
2017-03-04 22:54:49 +03:00
Alex Dadgar
29d21daa01
Fix indent
2016-11-10 16:00:17 -08:00
Seth Vargo
8baa0f8341
Merge pull request #1901 from hashicorp/sethvargo/more_docs
...
Update init command and add ephemeral_disk docs
2016-10-31 21:53:03 -04:00
Seth Vargo
90fad382cf
Address feedback
2016-10-31 21:52:45 -04:00
Diptanu Choudhury
f0afdde81f
Merge branch 'master' of github.com:hashicorp/nomad
2016-10-31 17:50:58 -07:00
Diptanu Choudhury
724d537104
Added the migrate flag to init
2016-10-31 17:50:07 -07:00
Seth Vargo
e30f92e6da
Update docs on the sample command
2016-10-31 19:55:40 -04:00
Seth Vargo
358aa6a260
Fix typo
2016-10-31 16:52:56 -04:00
Seth Vargo
f318dc2ba9
Alphabetize services
2016-10-31 16:52:55 -04:00
Seth Vargo
8dadd1659b
Update service example in init command
2016-10-31 16:52:54 -04:00
Seth Vargo
082ba5a3c8
Move resources alphabetical
2016-10-31 16:52:54 -04:00
Seth Vargo
aa8f137450
Update resources example in init command
2016-10-31 16:52:53 -04:00
Seth Vargo
434db4de28
Move logs configuration up in init command
2016-10-31 16:52:53 -04:00
Seth Vargo
3e3ffcb9ec
Update logs example in init
2016-10-31 16:52:53 -04:00
Seth Vargo
2f050a535d
Update artifact example in init command
2016-10-31 16:52:52 -04:00
Seth Vargo
7c441e6d3c
Add vault example to init command
2016-10-31 16:52:52 -04:00
Seth Vargo
cf000c2621
Add template example to init command
2016-10-31 16:52:52 -04:00
Seth Vargo
4523f112fe
Update the sample jobfile syntax
...
- Uses spaces instead of tabs for the sample job file. Even though Nomad
is written in Go, the HCL style guide uses two spaces for indentation,
and this will match Terraform and Vault in terms of configuration.
- Locks to redis:3.2 instead of floating latest. Running latest in
production is a bad idea and we shouldn't encourage it even via
example.
- Removes the linux constraint (native docker exists for both Mac and
Windows now)
- Aligns equal signs and stuff as per the HCL formatter
- Closes #1743
2016-09-24 14:42:25 -04:00
Seth Vargo
18c657a1b7
Convert example job file constraint to comment
...
This improves the "getting started" happy path experience for non-linux
users who are running the native Docker tools on their machines. There
is no need to constrain this job to linux, since driver detection for
docker will already (basically) do this.
2016-09-24 14:12:30 -04:00
Diptanu Choudhury
1b3c5e98c8
Renaming LocalDisk to EphemeralDisk ( #1710 )
...
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Kenjiro Nakayama
47260d68be
[tiny] Fix an indent in init template
2016-07-20 17:41:26 +09:00
Mathias Lafeldt
ab94704518
Fix typos in source code
2016-07-18 16:24:46 +02:00
Alex Dadgar
1e67be4c6f
Fix indentation of init file
2016-03-21 18:16:57 -07:00
Diptanu Choudhury
cbca7addb4
Fixes example.init
2016-03-15 21:21:49 -07:00
Alex Dadgar
4288d3b7d7
Add artifact to init
2016-03-15 20:28:33 -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
Diptanu Choudhury
d2fa769514
Added the log config to init example
2016-02-11 12:21:19 -08:00
Alex Dadgar
5018f5dd1e
Only interpret vars wrapped in braces
2016-02-04 17:26:46 -08:00
Alex Dadgar
6f20d3f435
Restart on-success shouldn't be user specifiable
2016-02-02 17:35:06 -08:00
Alex Dadgar
571adabac2
Add to nomad init
2016-01-04 11:36:57 -08:00
Alex Dadgar
31c3e12957
merge
2015-12-18 12:17:13 -08:00
Diptanu Choudhury
9139078241
Updated the example nomad job spec to use task group name in the service name
2015-11-26 23:27:33 -08:00
Diptanu Choudhury
1672252226
Autogenerating names of service
2015-11-17 16:05:03 -08:00
Diptanu Choudhury
eb19967ce4
Added the parsling logic for service blocks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
f8ce6fb901
Added the example for service block
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
0126c80961
Adding the port hcl object to example
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
1f4593c4d3
Fixed the restart policy syntax
2015-11-02 17:30:41 -08:00
Diptanu Choudhury
8133aa413a
Fixed grammer of comment
2015-10-30 21:06:56 -07:00
Diptanu Choudhury
c883f9496a
Added support for parsing restart blocks
2015-10-30 15:51:39 -07:00
Chris Bednarski
e9ee102ceb
Change to the default redis port and use docker port mapping
2015-10-02 16:35:24 -07:00