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

@@ -39,11 +39,11 @@ JSON and YAML formats are accepted.
Examples:
$ kubectl create -f pod.json
// Create a pod using the data in pod.json.
$ kubectl create -f pod.json
$ cat pod.json | kubectl create -f -
// 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 -`,
Run: func(cmd *cobra.Command, args []string) {
schema, err := f.Validator(cmd)
checkErr(err)