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

@@ -34,16 +34,16 @@ import (
const (
run_long = `Create and run a particular image, possibly replicated.
Creates a replication controller to manage the created container(s).`
run_example = `// Starts a single instance of nginx.
run_example = `# Starts a single instance of nginx.
$ kubectl run nginx --image=nginx
// Starts a replicated instance of nginx.
# Starts a replicated instance of nginx.
$ kubectl run nginx --image=nginx --replicas=5
// Dry run. Print the corresponding API objects without creating them.
# Dry run. Print the corresponding API objects without creating them.
$ kubectl run nginx --image=nginx --dry-run
// Start a single instance of nginx, but overload the spec of the replication controller with a partial set of values parsed from JSON.
# Start a single instance of nginx, but overload the spec of the replication controller with a partial set of values parsed from JSON.
$ kubectl run nginx --image=nginx --overrides='{ "apiVersion": "v1", "spec": { ... } }'`
)