mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
This commit is contained in:
@@ -49,6 +49,7 @@ $ kubectl delete pods --all
|
||||
-h, --help=false: help for delete
|
||||
--ignore-not-found=false: Treat "resource not found" as a successful delete.
|
||||
-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
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
@@ -83,6 +84,6 @@ $ kubectl delete pods --all
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 18:30:45.437003409 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-06-03 18:21:01.053120485 +0000 UTC
|
||||
|
||||
[]()
|
||||
|
Reference in New Issue
Block a user