Commit c974e073 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #17236 from fabianofranz/wrong_attach_example

Auto commit by PR queue bot
parents e19c3880 ab455784
...@@ -133,7 +133,7 @@ Attach to a a process that is already running inside an existing container. ...@@ -133,7 +133,7 @@ Attach to a a process that is already running inside an existing container.
$ kubectl attach 123456\-7890 $ kubectl attach 123456\-7890
# Get output from ruby\-container from pod 123456\-7890 # Get output from ruby\-container from pod 123456\-7890
$ kubectl attach 123456\-7890 \-c ruby\-container date $ kubectl attach 123456\-7890 \-c ruby\-container
# Switch to raw terminal mode, sends stdin to 'bash' in ruby\-container from pod 123456\-7890 # Switch to raw terminal mode, sends stdin to 'bash' in ruby\-container from pod 123456\-7890
# and sends stdout/stderr from 'bash' back to the client # and sends stdout/stderr from 'bash' back to the client
......
...@@ -51,7 +51,7 @@ kubectl attach POD -c CONTAINER ...@@ -51,7 +51,7 @@ kubectl attach POD -c CONTAINER
$ kubectl attach 123456-7890 $ kubectl attach 123456-7890
# Get output from ruby-container from pod 123456-7890 # Get output from ruby-container from pod 123456-7890
$ kubectl attach 123456-7890 -c ruby-container date $ kubectl attach 123456-7890 -c ruby-container
# Switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-7890 # Switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-7890
# and sends stdout/stderr from 'bash' back to the client # and sends stdout/stderr from 'bash' back to the client
...@@ -98,7 +98,7 @@ $ kubectl attach 123456-7890 -c ruby-container -i -t ...@@ -98,7 +98,7 @@ $ kubectl attach 123456-7890 -c ruby-container -i -t
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager * [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra on 9-Oct-2015 ###### Auto generated by spf13/cobra on 17-Nov-2015
<!-- BEGIN MUNGE: GENERATED_ANALYTICS --> <!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_attach.md?pixel)]() [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_attach.md?pixel)]()
......
...@@ -39,7 +39,7 @@ const ( ...@@ -39,7 +39,7 @@ const (
$ kubectl attach 123456-7890 $ kubectl attach 123456-7890
# Get output from ruby-container from pod 123456-7890 # Get output from ruby-container from pod 123456-7890
$ kubectl attach 123456-7890 -c ruby-container date $ kubectl attach 123456-7890 -c ruby-container
# Switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-7890 # Switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-7890
# and sends stdout/stderr from 'bash' back to the client # and sends stdout/stderr from 'bash' back to the client
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment