mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +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:
@@ -49,10 +49,10 @@ kubectl create -f FILENAME
|
||||
### Examples
|
||||
|
||||
```
|
||||
// Create a pod using the data in pod.json.
|
||||
# Create a pod using the data in pod.json.
|
||||
$ kubectl create -f ./pod.json
|
||||
|
||||
// Create a pod based on the JSON passed into stdin.
|
||||
# Create a pod based on the JSON passed into stdin.
|
||||
$ cat pod.json | kubectl create -f -
|
||||
```
|
||||
|
||||
@@ -97,7 +97,7 @@ $ cat pod.json | kubectl create -f -
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-08-05 14:22:30.872168232 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-08-12 16:38:35.550238308 +0000 UTC
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
Reference in New Issue
Block a user