Add containerPort to service schema. Regenerate HTML. Add instructions for how to view HTML.

pull/6/head
Brian Grant 2014-08-19 19:48:12 +00:00
parent 7ac44a6697
commit 31a0daae36
3 changed files with 22 additions and 5 deletions

View File

@ -178,7 +178,7 @@ git fetch upstream
git rebase upstream/master
```
### Regenerating the documentation
### Regenerating the API documentation
```
cd kubernetes/api
@ -186,3 +186,8 @@ sudo docker build -t kubernetes/raml2html .
sudo docker run --name="docgen" kubernetes/raml2html
sudo docker cp docgen:/data/kubernetes.html .
```
View the API documentation using htmlpreview (works on your fork, too):
```
http://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/kubernetes.html
```

View File

@ -28,6 +28,10 @@
"type": "number",
"required": false
},
"containerPort": {
"type": "string",
"required": false
},
"labels": {
"type": "object",
"required": false

View File

@ -699,6 +699,10 @@
"type": "number",
"required": false
},
"containerPort": {
"type": "string",
"required": false
},
"labels": {
"type": "object",
"required": false
@ -763,6 +767,10 @@
"type": "number",
"required": false
},
"containerPort": {
"type": "string",
"required": false
},
"labels": {
"type": "object",
"required": false