Skip to content

Commit 2e812fa

Browse files
author
Chris Short
committed
Update static-pod.md
Adding console to crictl ps output lines as suggested: #31410 (comment)
1 parent a819c51 commit 2e812fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/tasks/configure-pod-container/static-pod.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ crictl ps
161161
162162
The output might be something like:
163163
164-
```
164+
```console
165165
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
166166
129fd7d382018 docker.io/library/nginx@sha256:... 11 minutes ago Running web 0 34533c6729106
167167
```
@@ -216,7 +216,7 @@ crictl stop 129fd7d382018 # replace with the ID of your container
216216
sleep 20
217217
crictl ps
218218
```
219-
```
219+
```console
220220
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
221221
89db4553e1eeb docker.io/library/nginx@sha256:... 19 seconds ago Running web 1 34533c6729106
222222
```
@@ -237,7 +237,7 @@ mv /tmp/static-web.yaml /etc/kubelet.d/
237237
sleep 20
238238
crictl ps
239239
```
240-
```
240+
```console
241241
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
242242
f427638871c35 docker.io/library/nginx@sha256:... 19 seconds ago Running web 1 34533c6729106
243243
```

0 commit comments

Comments
 (0)