Add munger to verify kubectl -f targets, fix docs
This commit is contained in:
@@ -39,7 +39,7 @@ kubectl create -f FILENAME
|
||||
|
||||
```
|
||||
// Create a pod using the data in pod.json.
|
||||
$ kubectl create -f pod.json
|
||||
$ kubectl create -f ./pod.json
|
||||
|
||||
// Create a pod based on the JSON passed into stdin.
|
||||
$ cat pod.json | kubectl create -f -
|
||||
@@ -84,7 +84,7 @@ $ cat pod.json | kubectl create -f -
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-07-14 00:11:42.955765309 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-07-16 22:39:16.132575015 +0000 UTC
|
||||
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
|
@@ -46,7 +46,7 @@ kubectl delete ([-f FILENAME] | (RESOURCE [(NAME | -l label | --all)]
|
||||
|
||||
```
|
||||
// Delete a pod using the type and name specified in pod.json.
|
||||
$ kubectl delete -f pod.json
|
||||
$ kubectl delete -f ./pod.json
|
||||
|
||||
// Delete a pod based on the type and name in the JSON passed into stdin.
|
||||
$ cat pod.json | kubectl delete -f -
|
||||
@@ -106,7 +106,7 @@ $ kubectl delete pods --all
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-07-14 00:11:42.95616314 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-07-16 05:13:00.190175769 +0000 UTC
|
||||
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
|
@@ -39,13 +39,13 @@ kubectl replace -f FILENAME
|
||||
|
||||
```
|
||||
// Replace a pod using the data in pod.json.
|
||||
$ kubectl replace -f pod.json
|
||||
$ kubectl replace -f ./pod.json
|
||||
|
||||
// Replace a pod based on the JSON passed into stdin.
|
||||
$ cat pod.json | kubectl replace -f -
|
||||
|
||||
// Force replace, delete and then re-create the resource
|
||||
kubectl replace --force -f pod.json
|
||||
kubectl replace --force -f ./pod.json
|
||||
```
|
||||
|
||||
### Options
|
||||
@@ -91,7 +91,7 @@ kubectl replace --force -f pod.json
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-07-14 00:11:42.955895303 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-07-16 22:39:16.132838722 +0000 UTC
|
||||
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
|
Reference in New Issue
Block a user