Skip to content

Commit

Permalink
Make cleanup easier.
Browse files Browse the repository at this point in the history
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
  • Loading branch information
vishh committed Mar 31, 2016
1 parent 21887f2 commit 4b2595a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/getting-started-guides/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ See [here](/docs/getting-started-guides/docker-multinode/deployDNS/) for instruc

### Turning down your cluster

1. Delete all the containers including the kubelet:
* Delete all the containers including the kubelet:

Many of these containers run under the management of the `kubelet` binary, which attempts to keep containers running, even if they fail.
So, in order to turn down the cluster, you need to first kill the kubelet container, and then any other containers.

You may use `docker kill $(docker ps -aq)`, note this removes _all_ containers running under Docker, so use with caution.
```shell
docker rm -f kubelet
docker rm -f `docker ps | grep k8s | awk '{print $1}'`
```

2. Cleanup the filesystem:
* Cleanup the filesystem:

On OS X, first ssh into the docker VM:

Expand Down

0 comments on commit 4b2595a

Please sign in to comment.