mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Use bash comments in kubectl examples
Comments in kubectl examples should use bash comments, not Go comments. So, replaces // by # for example strings.
This commit is contained in:
@@ -47,14 +47,14 @@ kubectl attach POD -c CONTAINER
|
||||
### Examples
|
||||
|
||||
```
|
||||
// get output from running pod 123456-7890, using the first container by default
|
||||
# get output from running pod 123456-7890, using the first container by default
|
||||
$ 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
|
||||
|
||||
// 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 attach 123456-7890 -c ruby-container -i -t
|
||||
```
|
||||
|
||||
@@ -100,7 +100,7 @@ $ kubectl attach 123456-7890 -c ruby-container -i -t
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-08-05 14:22:30.874171127 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-08-12 16:38:35.552121602 +0000 UTC
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
Reference in New Issue
Block a user