YARN-8136. Add version attribute to site doc examples and quickstart. (Eric Yang via wangda)

Change-Id: I4541b239f490ca0a6edf9698e0d3deaf83669151
(cherry picked from commit 8244abb7ae)
This commit is contained in:
Wangda Tan 2018-08-09 11:03:46 -07:00
parent 68279fcd65
commit beea18736b
2 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@ Note this example requires registry DNS.
```
{
"name": "httpd-service",
"version": "1.0",
"lifetime": "3600",
"components": [
{
@ -169,9 +170,10 @@ Then visit port 8080 for each IP to view the pages.
Docker images may have built with ENTRYPOINT to enable start up of docker image without any parameters.
When passing parameters to ENTRYPOINT enabled image, `launch_command` is delimited by comma (,).
```
{
"name": "sleeper-service",
"version": "1",
"version": "1.0",
"components" :
[
{
@ -198,3 +200,4 @@ When passing parameters to ENTRYPOINT enabled image, `launch_command` is delimit
}
]
}
```

View File

@ -40,6 +40,7 @@ Below is a simple service definition that launches sleep containers on YARN by w
```
{
"name": "sleeper-service",
"version": "1.0",
"components" :
[
{