From c7e90a82cd4f286200bb21d1b4f761fb8d816783 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Tue, 1 Oct 2019 18:33:35 +0100 Subject: [PATCH] Formatting tweak (#16638) Avoid marking process output as shell script --- .../docs/concepts/workloads/pods/ephemeral-containers.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/content/en/docs/concepts/workloads/pods/ephemeral-containers.md b/content/en/docs/concepts/workloads/pods/ephemeral-containers.md index 8b09c7c691..1fc060ef35 100644 --- a/content/en/docs/concepts/workloads/pods/ephemeral-containers.md +++ b/content/en/docs/concepts/workloads/pods/ephemeral-containers.md @@ -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;