mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Generate new docs with the new changes
This commit is contained in:
@@ -4,24 +4,28 @@ Gracefully shut down a resource by id or filename.
|
||||
|
||||
### Synopsis
|
||||
|
||||
```
|
||||
Gracefully shut down a resource by id or filename.
|
||||
|
||||
Attempts to shut down and delete a resource that supports graceful termination.
|
||||
If the resource is resizable it will be resized to 0 before deletion.
|
||||
|
||||
Examples:
|
||||
|
||||
// Shut down foo.
|
||||
$ kubectl stop replicationcontroller foo
|
||||
|
||||
// Shut down the service defined in service.json
|
||||
$ kubectl stop -f service.json
|
||||
|
||||
// Shut down all resources in the path/to/resources directory
|
||||
$ kubectl stop -f path/to/resources
|
||||
```
|
||||
|
||||
kubectl stop (<resource> <id>|-f filename)
|
||||
|
||||
### Examples
|
||||
|
||||
```
|
||||
// Shut down foo.
|
||||
$ kubectl stop replicationcontroller foo
|
||||
|
||||
// Shut down the service defined in service.json
|
||||
$ kubectl stop -f service.json
|
||||
|
||||
// Shut down all resources in the path/to/resources directory
|
||||
$ kubectl stop -f path/to/resources
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user