Skip to content

Commit

Permalink
Fix init containers code block (#5428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Bai authored and Jessica Yao committed Sep 22, 2017
1 parent 88c0c59 commit 60cb9d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/concepts/workloads/pods/init-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ spec:

Yaml file below outlines the `mydb` and `myservice` services:

```
```yaml
kind: Service
apiVersion: v1
metadata:
Expand All @@ -174,7 +174,7 @@ spec:

This Pod can be started and debugged with the following commands:

```
```shell
$ kubectl create -f myapp.yaml
pod "myapp-pod" created
$ kubectl get -f myapp.yaml
Expand Down Expand Up @@ -220,7 +220,7 @@ $ kubectl logs myapp-pod -c init-mydb # Inspect the second init container
Once we start the `mydb` and `myservice` services, we can see the Init Containers
complete and the `myapp-pod` is created:

```
```shell
$ kubectl create -f services.yaml
service "myservice" created
service "mydb" created
Expand Down

0 comments on commit 60cb9d4

Please sign in to comment.