Skip to content

Commit

Permalink
Formatting tweak
Browse files Browse the repository at this point in the history
Avoid marking process output as shell script
  • Loading branch information
sftim committed Oct 1, 2019
1 parent db64ecd commit e8e58c2
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8e58c2

Please sign in to comment.