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
5f44175d
Commit
5f44175d
authored
Jun 23, 2015
by
akramer
Committed by
Adam Kramer
Jun 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing spacing in documentation comments
There was some ugly spacing in the 'kubectl exec' documentation comments, I've fixed it and wrapped it to 80 chars.
parent
fbd09a1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
kubectl_exec.md
docs/kubectl_exec.md
+3
-2
kubectl-exec.1
docs/man/man1/kubectl-exec.1
+2
-1
exec.go
pkg/kubectl/cmd/exec.go
+2
-1
No files found.
docs/kubectl_exec.md
View file @
5f44175d
...
@@ -20,7 +20,8 @@ $ kubectl exec 123456-7890 date
...
@@ -20,7 +20,8 @@ $ kubectl exec 123456-7890 date
// get output from running 'date' in ruby-container from pod 123456-7890
// get output from running 'date' in ruby-container from pod 123456-7890
$ kubectl exec 123456-7890 -c ruby-container date
$ kubectl exec 123456-7890 -c ruby-container date
//switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-780 and sends stdout/stderr from 'bash' back to the client
// switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-780
// and sends stdout/stderr from 'bash' back to the client
$ kubectl exec 123456-7890 -c ruby-container -i -t -- bash -il
$ kubectl exec 123456-7890 -c ruby-container -i -t -- bash -il
```
```
...
@@ -66,6 +67,6 @@ $ kubectl exec 123456-7890 -c ruby-container -i -t -- bash -il
...
@@ -66,6 +67,6 @@ $ kubectl exec 123456-7890 -c ruby-container -i -t -- bash -il
### SEE ALSO
### SEE ALSO
*
[
kubectl
](
kubectl.md
)
- kubectl controls the Kubernetes cluster manager
*
[
kubectl
](
kubectl.md
)
- kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-0
5-27 22:47:02.898315735
+0000 UTC
###### Auto generated by spf13/cobra at 2015-0
6-24 20:27:28.756021646
+0000 UTC
[

]()
[

]()
docs/man/man1/kubectl-exec.1
View file @
5f44175d
...
@@ -147,7 +147,8 @@ $ kubectl exec 123456\-7890 date
...
@@ -147,7 +147,8 @@ $ kubectl exec 123456\-7890 date
// get output from running 'date' in ruby\-container from pod 123456\-7890
// get output from running 'date' in ruby\-container from pod 123456\-7890
$ kubectl exec 123456\-7890 \-c ruby\-container date
$ kubectl exec 123456\-7890 \-c ruby\-container date
//switch to raw terminal mode, sends stdin to 'bash' in ruby\-container from pod 123456\-780 and sends stdout/stderr from 'bash' back to the client
// switch to raw terminal mode, sends stdin to 'bash' in ruby\-container from pod 123456\-780
// and sends stdout/stderr from 'bash' back to the client
$ kubectl exec 123456\-7890 \-c ruby\-container \-i \-t \-\- bash \-il
$ kubectl exec 123456\-7890 \-c ruby\-container \-i \-t \-\- bash \-il
.fi
.fi
...
...
pkg/kubectl/cmd/exec.go
View file @
5f44175d
...
@@ -38,7 +38,8 @@ $ kubectl exec 123456-7890 date
...
@@ -38,7 +38,8 @@ $ kubectl exec 123456-7890 date
// get output from running 'date' in ruby-container from pod 123456-7890
// get output from running 'date' in ruby-container from pod 123456-7890
$ kubectl exec 123456-7890 -c ruby-container date
$ kubectl exec 123456-7890 -c ruby-container date
//switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-780 and sends stdout/stderr from 'bash' back to the client
// switch to raw terminal mode, sends stdin to 'bash' in ruby-container from pod 123456-780
// and sends stdout/stderr from 'bash' back to the client
$ kubectl exec 123456-7890 -c ruby-container -i -t -- bash -il`
$ kubectl exec 123456-7890 -c ruby-container -i -t -- bash -il`
)
)
...
...
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