Formatting tweak (#16638)

Avoid marking process output as shell script
This commit is contained in:
Tim Bannister
2019-10-01 18:33:35 +01:00
committed by Kubernetes Prow Robot
parent 2d8a1f91f7
commit c7e90a82cd
@@ -186,10 +186,14 @@ You can attach to the new ephemeral container using `kubectl attach`:
kubectl attach -it example-pod -c debugger 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 ```shell
/ # ps auxww ps auxww
```
The output is similar to:
```
PID USER TIME COMMAND PID USER TIME COMMAND
1 root 0:00 /pause 1 root 0:00 /pause
6 root 0:00 nginx: master process nginx -g daemon off; 6 root 0:00 nginx: master process nginx -g daemon off;