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

@@ -36,13 +36,13 @@ Scale also allows users to specify one or more preconditions for the scale actio
If --current-replicas or --resource-version is specified, it is validated before the
scale is attempted, and it is guaranteed that the precondition holds true when the
scale is sent to the server.`
scale_example = `// Scale replication controller named 'foo' to 3.
scale_example = `# Scale replication controller named 'foo' to 3.
$ kubectl scale --replicas=3 replicationcontrollers foo
// If the replication controller named foo's current size is 2, scale foo to 3.
# If the replication controller named foo's current size is 2, scale foo to 3.
$ kubectl scale --current-replicas=2 --replicas=3 replicationcontrollers foo
// Scale multiple replication controllers.
# Scale multiple replication controllers.
$ kubectl scale --replicas=5 rc/foo rc/bar`
)