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

@@ -48,17 +48,17 @@ will be lost along with the rest of the resource.
Examples:
$ kubectl delete -f pod.json
// Delete a pod using the type and ID specified in pod.json.
$ kubectl delete -f pod.json
$ cat pod.json | kubectl delete -f -
// Delete a pod based on the type and ID in the JSON passed into stdin.
$ cat pod.json | kubectl delete -f -
$ kubectl delete pods,services -l name=myLabel
// Delete pods and services with label name=myLabel.
$ kubectl delete pods,services -l name=myLabel
$ kubectl delete pod 1234-56-7890-234234-456456
// Delete a pod with ID 1234-56-7890-234234-456456.`,
// Delete a pod with ID 1234-56-7890-234234-456456.
$ kubectl delete pod 1234-56-7890-234234-456456`,
Run: func(cmd *cobra.Command, args []string) {
cmdNamespace, err := f.DefaultNamespace(cmd)
checkErr(err)