Merge pull request #10841 from liggitt/delete_all
Default --ignore-not-found to true for delete --all
This commit is contained in:
@@ -51,7 +51,7 @@ will be lost along with the rest of the resource.
|
||||
|
||||
.PP
|
||||
\fB\-\-ignore\-not\-found\fP=false
|
||||
Treat "resource not found" as a successful delete.
|
||||
Treat "resource not found" as a successful delete. Defaults to "true" when \-\-all is specified.
|
||||
|
||||
.PP
|
||||
\fB\-l\fP, \fB\-\-selector\fP=""
|
||||
|
@@ -80,7 +80,7 @@ $ kubectl delete pods --all
|
||||
-f, --filename=[]: Filename, directory, or URL to a file containing the resource to delete.
|
||||
--grace-period=-1: Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.
|
||||
-h, --help=false: help for delete
|
||||
--ignore-not-found=false: Treat "resource not found" as a successful delete.
|
||||
--ignore-not-found=false: Treat "resource not found" as a successful delete. Defaults to "true" when --all is specified.
|
||||
-l, --selector="": Selector (label query) to filter on.
|
||||
--timeout=0: The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
|
||||
```
|
||||
@@ -118,7 +118,7 @@ $ kubectl delete pods --all
|
||||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-07-16 05:13:00.190175769 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-07-23 17:43:06.942148224 +0000 UTC
|
||||
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
|
Reference in New Issue
Block a user