mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout.
This commit is contained in:
@@ -39,6 +39,7 @@ $ kubectl stop -f path/to/resources
|
||||
-h, --help=false: help for stop
|
||||
--ignore-not-found=false: Treat "resource not found" as a successful stop.
|
||||
-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
|
||||
@@ -73,6 +74,6 @@ $ kubectl stop -f path/to/resources
|
||||
### SEE ALSO
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-05-21 18:30:45.439945376 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-05-29 23:14:50.709764383 +0000 UTC
|
||||
|
||||
[]()
|
||||
|
Reference in New Issue
Block a user