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:
@@ -53,16 +53,16 @@ kubectl stop (-f FILENAME | TYPE (NAME | -l label | --all))
|
||||
### Examples
|
||||
|
||||
```
|
||||
// Shut down foo.
|
||||
# Shut down foo.
|
||||
$ kubectl stop replicationcontroller foo
|
||||
|
||||
// Stop pods and services with label name=myLabel.
|
||||
# Stop pods and services with label name=myLabel.
|
||||
$ kubectl stop pods,services -l name=myLabel
|
||||
|
||||
// Shut down the service defined in service.json
|
||||
# Shut down the service defined in service.json
|
||||
$ kubectl stop -f service.json
|
||||
|
||||
// Shut down all resources in the path/to/resources directory
|
||||
# Shut down all resources in the path/to/resources directory
|
||||
$ kubectl stop -f path/to/resources
|
||||
```
|
||||
|
||||
@@ -112,7 +112,7 @@ $ kubectl stop -f path/to/resources
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-08-05 23:27:50.888354767 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-08-12 16:38:35.552901364 +0000 UTC
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
Reference in New Issue
Block a user