Skip to content

Commit e1d8942

Browse files
committed
Added description to debug pod section
1 parent 4f62ee0 commit e1d8942

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

101-lab/content/11_debugging_containers.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ In this lab, we will scale down the database deployment so that application pods
3939
- Run the `oc debug` command to start a debug pod (your output will vary)
4040
```
4141
$ oc -n [-dev] debug <rocketchat-pod-name>
42-
Defaulting container name to rocketchat-shelly.
43-
Use 'oc describe pod/rocketchat-shelly-6-bm827-debug -n ocp101-june-dev' to see all of the containers in this pod.
44-
45-
Debugging with pod/rocketchat-shelly-6-bm827-debug, original command: container-entrypoint node main.js
46-
Waiting for pod to start ...
47-
If you don't see a command prompt, try pressing enter.
48-
sh-4.2$
49-
sh-4.2$
42+
```
43+
- Open a new separate terminal window, and view all of the containers in your debug pod using:
44+
```
45+
oc describe pod/rocketchat-shelly-6-bm827-debug -n [-dev]
46+
```
47+
48+
- After this is complete, return to your debug pod terminal and run the `exit` command. This will remove the debug pod.
49+
```
5050
sh-4.2$ exit
5151
exit
5252

0 commit comments

Comments
 (0)