Separate commands from output (#15331)

pull/15354/head
David Ricordel 2019-07-09 13:08:03 +02:00 committed by Kubernetes Prow Robot
parent 5e32562bff
commit 140ffcd845
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,9 @@ To run this pod, use the following command:
```shell
kubectl apply -f https://k8s.io/examples/debug/counter-pod.yaml
```
The output is:
```
pod/counter created
```
@ -43,6 +46,9 @@ To fetch the logs, use the `kubectl logs` command, as follows:
```shell
kubectl logs counter
```
The output is:
```
0: Mon Jan 1 00:00:00 UTC 2001
1: Mon Jan 1 00:00:01 UTC 2001
2: Mon Jan 1 00:00:02 UTC 2001