mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Merge pull request #17236 from fabianofranz/wrong_attach_example
Auto commit by PR queue bot
This commit is contained in:
@@ -133,7 +133,7 @@ Attach to a a process that is already running inside an existing container.
|
||||
$ kubectl attach 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
|
||||
# and sends stdout/stderr from 'bash' back to the client
|
||||
|
Reference in New Issue
Block a user