Commit 9abc419b authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #1916 from iamzhout/master

docs(helm): add doc to use `helm reset` to delete tiller deployment
parents 2c5e8d5b f745c9c7
...@@ -189,7 +189,7 @@ Setting `TILLER_TAG=canary` will get the latest snapshot of master. ...@@ -189,7 +189,7 @@ Setting `TILLER_TAG=canary` will get the latest snapshot of master.
Because Tiller stores its data in Kubernetes ConfigMaps, you can safely Because Tiller stores its data in Kubernetes ConfigMaps, you can safely
delete and re-install Tiller without worrying about losing any data. The delete and re-install Tiller without worrying about losing any data. The
recommended way of deleting Tiller is with `kubectl delete deployment recommended way of deleting Tiller is with `kubectl delete deployment
tiller-deploy --namespace kube-system` tiller-deploy --namespace kube-system`, or more concisely `helm reset`.
Tiller can then be re-installed from the client with: Tiller can then be re-installed from the client with:
......
...@@ -324,16 +324,17 @@ cluster. And as we can see above, it shows that our new values from ...@@ -324,16 +324,17 @@ cluster. And as we can see above, it shows that our new values from
`panda.yaml` were deployed to the cluster. `panda.yaml` were deployed to the cluster.
Now, if something does not go as planned during a release, it is easy to Now, if something does not go as planned during a release, it is easy to
roll back to a previous release. roll back to a previous release using `helm rollback [RELEASE] [REVISION]`.
```console ```console
$ helm rollback happy-panda --version 1 $ helm rollback happy-panda 1
``` ```
The above rolls back our happy-panda to its very first release version. The above rolls back our happy-panda to its very first release version.
A release version is an incremental revision. Every time an install, A release version is an incremental revision. Every time an install,
upgrade, or rollback happens, the revision number is incremented by 1. upgrade, or rollback happens, the revision number is incremented by 1.
The first revision number is always 1. The first revision number is always 1. And we can use `helm history [RELEASE]`
to see revision numbers for a certain release.
## Helpful Options for Install/Upgrade/Rollback ## Helpful Options for Install/Upgrade/Rollback
There are several other helpful options you can specify for customizing the There are several other helpful options you can specify for customizing the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment