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:
Peeyush Agarwal
2015-08-12 16:50:09 +00:00
parent 5c08d276a0
commit 05e069d038
63 changed files with 270 additions and 270 deletions

View File

@@ -53,16 +53,16 @@ kubectl replace -f FILENAME
### Examples
```
// Replace a pod using the data in pod.json.
# Replace a pod using the data in pod.json.
$ kubectl replace -f ./pod.json
// Replace a pod based on the JSON passed into stdin.
# Replace a pod based on the JSON passed into stdin.
$ cat pod.json | kubectl replace -f -
// Update a single-container pod's image version (tag) to v4
# Update a single-container pod's image version (tag) to v4
kubectl get pod mypod -o yaml | sed 's/\(image: myimage\):.*$/\1:v4/' | kubectl replace -f -
// Force replace, delete and then re-create the resource
# Force replace, delete and then re-create the resource
kubectl replace --force -f ./pod.json
```
@@ -111,7 +111,7 @@ kubectl replace --force -f ./pod.json
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-08-10 16:02:35.925298963 +0000 UTC
###### Auto generated by spf13/cobra at 2015-08-12 16:38:35.550406842 +0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_replace.md?pixel)]()