Use example syncer tags instead of hard-coded examples in doc

This commit is contained in:
Janet Kuo
2015-07-20 15:46:20 -07:00
parent 2bd53119b1
commit 180798cfa4
22 changed files with 306 additions and 104 deletions

View File

@@ -47,6 +47,8 @@ $ kubectl create -f ./pod.yaml
Where pod.yaml contains something like:
<!-- BEGIN MUNGE: EXAMPLE pod.yaml -->
```yaml
apiVersion: v1
kind: Pod
@@ -62,6 +64,9 @@ spec:
- containerPort: 80
```
[Download example](pod.yaml)
<!-- END MUNGE: EXAMPLE -->
You can see your cluster's pods:
```console
@@ -87,6 +92,8 @@ $ kubectl create -f ./replication.yaml
Where `replication.yaml` contains:
<!-- BEGIN MUNGE: EXAMPLE replication.yaml -->
```yaml
apiVersion: v1
kind: ReplicationController
@@ -109,6 +116,9 @@ spec:
- containerPort: 80
```
[Download example](replication.yaml)
<!-- END MUNGE: EXAMPLE -->
To delete the replication controller (and the pods it created):
```console