From 2e812faacf29202436c95a6b06d70f67bc61acab Mon Sep 17 00:00:00 2001 From: Chris Short Date: Wed, 26 Jan 2022 07:14:31 -0500 Subject: [PATCH] Update static-pod.md Adding console to crictl ps output lines as suggested: https://github.com/kubernetes/website/pull/31410#discussion_r791186773 --- content/en/docs/tasks/configure-pod-container/static-pod.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/static-pod.md b/content/en/docs/tasks/configure-pod-container/static-pod.md index 1ad0151e23..190326065b 100644 --- a/content/en/docs/tasks/configure-pod-container/static-pod.md +++ b/content/en/docs/tasks/configure-pod-container/static-pod.md @@ -161,7 +161,7 @@ crictl ps The output might be something like: -``` +```console CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID 129fd7d382018 docker.io/library/nginx@sha256:... 11 minutes ago Running web 0 34533c6729106 ``` @@ -216,7 +216,7 @@ crictl stop 129fd7d382018 # replace with the ID of your container sleep 20 crictl ps ``` -``` +```console CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID 89db4553e1eeb docker.io/library/nginx@sha256:... 19 seconds ago Running web 1 34533c6729106 ``` @@ -237,7 +237,7 @@ mv /tmp/static-web.yaml /etc/kubelet.d/ sleep 20 crictl ps ``` -``` +```console CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID f427638871c35 docker.io/library/nginx@sha256:... 19 seconds ago Running web 1 34533c6729106 ```