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

@@ -75,6 +75,9 @@ spec:
```
Some differences compared to specifying just a pod are that the `kind` is `ReplicationController`, the number of `replicas` desired is specified, and the pod specification is under the `template` field. The names of the pods dont need to be specified explicitly because they are generated from the name of the replication controller.
View the [replication controller API
object](https://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/HEAD/docs/api-reference/definitions.html#_v1_replicationcontroller)
to view the list of supported fields.
This replication controller can be created using `create`, just as with pods: