Comments go above the sample line in kubectl docs.

This commit is contained in:
MikeJeffrey
2015-02-12 15:49:25 -08:00
parent edea91e519
commit ca1e9f8061
11 changed files with 41 additions and 42 deletions

View File

@@ -44,11 +44,11 @@ existing controller and overwrite at least one (common) label in its replicaSele
Examples:
$ kubectl rollingupdate frontend-v1 -f frontend-v2.json
// Update pods of frontend-v1 using new controller data in frontend-v2.json.
$ kubectl rollingupdate frontend-v1 -f frontend-v2.json
$ cat frontend-v2.json | kubectl rollingupdate frontend-v1 -f -
// Update pods of frontend-v1 using JSON data passed into stdin.`,
// Update pods of frontend-v1 using JSON data passed into stdin.
$ cat frontend-v2.json | kubectl rollingupdate frontend-v1 -f -`,
Run: func(cmd *cobra.Command, args []string) {
filename := util.GetFlagString(cmd, "filename")
if len(filename) == 0 {