Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c974e073
Commit
c974e073
authored
Nov 23, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17236 from fabianofranz/wrong_attach_example
Auto commit by PR queue bot
parents
e19c3880
ab455784
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
kubectl-attach.1
docs/man/man1/kubectl-attach.1
+1
-1
kubectl_attach.md
docs/user-guide/kubectl/kubectl_attach.md
+2
-2
attach.go
pkg/kubectl/cmd/attach.go
+1
-1
No files found.
docs/man/man1/kubectl-attach.1
View file @
c974e073
...
...
@@ -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
...
...
docs/user-guide/kubectl/kubectl_attach.md
View file @
c974e073
...
...
@@ -51,7 +51,7 @@ kubectl attach POD -c 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
...
...
@@ -98,7 +98,7 @@ $ kubectl attach 123456-7890 -c ruby-container -i -t
*
[
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 -->
[

]()
...
...
pkg/kubectl/cmd/attach.go
View file @
c974e073
...
...
@@ -39,7 +39,7 @@ const (
$ 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment