From 140ffcd845ac715ba625b618d0c5b18eb580cdb3 Mon Sep 17 00:00:00 2001 From: David Ricordel Date: Tue, 9 Jul 2019 13:08:03 +0200 Subject: [PATCH] Separate commands from output (#15331) --- content/en/docs/concepts/cluster-administration/logging.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/concepts/cluster-administration/logging.md b/content/en/docs/concepts/cluster-administration/logging.md index 19ea9aee0b..2c1ab5f3fe 100644 --- a/content/en/docs/concepts/cluster-administration/logging.md +++ b/content/en/docs/concepts/cluster-administration/logging.md @@ -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