Sergey Mezentsev
bcc1783e92
Remove 'disk space' from docs
2017-03-04 22:54:49 +03:00
Alex Dadgar
1c4575fa06
Fix indent
2016-11-10 16:00:17 -08:00
Seth Vargo
5684db9095
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
1851b89737
Address feedback
2016-10-31 21:52:45 -04:00
Diptanu Choudhury
b82088aeb1
Merge branch 'master' of github.com:hashicorp/nomad
2016-10-31 17:50:58 -07:00
Diptanu Choudhury
e8fd8c8a58
Added the migrate flag to init
2016-10-31 17:50:07 -07:00
Seth Vargo
327bbb40ef
Update docs on the sample command
2016-10-31 19:55:40 -04:00
Seth Vargo
407bac5240
Fix typo
2016-10-31 16:52:56 -04:00
Seth Vargo
e14e14b44f
Alphabetize services
2016-10-31 16:52:55 -04:00
Seth Vargo
fc993b5199
Update service example in init command
2016-10-31 16:52:54 -04:00
Seth Vargo
fc0d756d24
Move resources alphabetical
2016-10-31 16:52:54 -04:00
Seth Vargo
b373a4801a
Update resources example in init command
2016-10-31 16:52:53 -04:00
Seth Vargo
bb3cc0bfb9
Move logs configuration up in init command
2016-10-31 16:52:53 -04:00
Seth Vargo
cfed4c6595
Update logs example in init
2016-10-31 16:52:53 -04:00
Seth Vargo
7675d0cf4d
Update artifact example in init command
2016-10-31 16:52:52 -04:00
Seth Vargo
aae80f61b7
Add vault example to init command
2016-10-31 16:52:52 -04:00
Seth Vargo
a9b70d3297
Add template example to init command
2016-10-31 16:52:52 -04:00
Seth Vargo
c1ee623c78
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
279c4c62fd
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
396e45629b
Renaming LocalDisk to EphemeralDisk ( #1710 )
...
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Kenjiro Nakayama
cf3a2daccf
[tiny] Fix an indent in init template
2016-07-20 17:41:26 +09:00
Mathias Lafeldt
acb9997ca7
Fix typos in source code
2016-07-18 16:24:46 +02:00
Alex Dadgar
9544291833
Fix indentation of init file
2016-03-21 18:16:57 -07:00
Diptanu Choudhury
40870bc519
Fixes example.init
2016-03-15 21:21:49 -07:00
Alex Dadgar
996c2dfb48
Add artifact to init
2016-03-15 20:28:33 -07:00
Dmitry Smirnov
2e755cd7e8
codespell: minor spelling corrections
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org >
2016-03-16 05:28:31 +11:00
Diptanu Choudhury
2d9ea67359
Added the log config to init example
2016-02-11 12:21:19 -08:00
Alex Dadgar
8b55fd6b70
Only interpret vars wrapped in braces
2016-02-04 17:26:46 -08:00
Alex Dadgar
a2132950a5
Restart on-success shouldn't be user specifiable
2016-02-02 17:35:06 -08:00
Alex Dadgar
d285df8275
Add to nomad init
2016-01-04 11:36:57 -08:00
Alex Dadgar
3122433b47
merge
2015-12-18 12:17:13 -08:00
Diptanu Choudhury
fe57034509
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
2ce78767a8
Autogenerating names of service
2015-11-17 16:05:03 -08:00
Diptanu Choudhury
01ef4469d9
Added the parsling logic for service blocks
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
c9f10f75c4
Added the example for service block
2015-11-17 15:13:25 -08:00
Diptanu Choudhury
fbb082cf31
Adding the port hcl object to example
2015-11-16 13:10:57 -08:00
Diptanu Choudhury
6a56218fb7
Fixed the restart policy syntax
2015-11-02 17:30:41 -08:00
Diptanu Choudhury
0d17430306
Fixed grammer of comment
2015-10-30 21:06:56 -07:00
Diptanu Choudhury
83695cb5d1
Added support for parsing restart blocks
2015-10-30 15:51:39 -07:00
Chris Bednarski
8c48fd183e
Change to the default redis port and use docker port mapping
2015-10-02 16:35:24 -07:00
Ryan Uber
3a3aa18bf8
command: test init
2015-09-30 14:21:50 -07:00
Armon Dadgar
ac8d2f6235
website: lowercase examples of dynamic ports
2015-09-26 18:26:51 -07:00
Chris Bednarski
5449c8290b
Add docker ports; change to uppercase examples and tests
2015-09-23 18:01:08 -07:00
Armon Dadgar
f2a09e9cf6
command/init: tweak constraint
2015-09-22 21:48:44 -07:00
Armon Dadgar
667c9c0794
command/init: fixing inconsistencies
2015-09-22 21:48:43 -07:00
Armon Dadgar
8eb7db7d69
command/init: reworking behavior and default file
2015-09-22 21:48:43 -07:00
Chris Bednarski
3799997a28
Switch to named port config syntax
2015-09-22 16:14:28 -07:00
Chris Bednarski
bee4fc6e7c
Added init command
2015-09-22 16:11:01 -07:00