Formatting tweak (#16638)

Avoid marking process output as shell script
pull/16657/head
Tim Bannister 2019-10-01 18:33:35 +01:00 committed by Kubernetes Prow Robot
parent 2d8a1f91f7
commit c7e90a82cd
1 changed files with 6 additions and 2 deletions

View File

@ -186,10 +186,14 @@ You can attach to the new ephemeral container using `kubectl attach`:
kubectl attach -it example-pod -c debugger
```
If process namespace sharing is enabled, you can see processes from all the containers in that Pod. For example:
If process namespace sharing is enabled, you can see processes from all the containers in that Pod.
For example, after attaching, you run `ps` in the debugger container:
```shell
/ # ps auxww
ps auxww
```
The output is similar to:
```
PID USER TIME COMMAND
1 root 0:00 /pause
6 root 0:00 nginx: master process nginx -g daemon off;