Linking to API object definitions from docs

This commit is contained in:
nikhiljindal
2015-07-20 00:44:11 -07:00
parent 7dab0af1f4
commit 021138bd83
8 changed files with 40 additions and 1 deletions

View File

@@ -108,6 +108,9 @@ pods/hello-world
```
`kubectl create --validate` currently warns about problems it detects, but creates the resource anyway, unless a required field is absent or a field value is invalid. Unknown API fields are ignored, so be careful. This pod was created, but with no `command`, which is an optional field, since the image may specify an `Entrypoint`.
View the [Pod API
object](https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html#_v1_pod)
to see the list of valid fields.
## Environment variables and variable expansion