Add --max-history tip and to the quickstart helm init docs (#5328)

Signed-off-by: 0verc1ocker <anton.ouzounov@gmail.com>
pull/5406/head
anton 6 years ago committed by Matthew Fisher
parent 33589472cf
commit 9689b02321

@ -54,9 +54,11 @@ Once you have Helm ready, you can initialize the local CLI and also
install Tiller into your Kubernetes cluster in one step:
```console
$ helm init
$ helm init --max-history 200
```
**TIP:** Setting `--max-history` on helm init is recommended as configmaps and other objects in helm history can grow large in number if not purged by max limit. Without a max history set the history is kept indefinitely, leaving a large number of records for helm and tiller to maintain.
This will install Tiller into the Kubernetes cluster you saw with
`kubectl config current-context`.

@ -43,7 +43,7 @@ _Note: The cluster-admin role is created by default in a Kubernetes cluster, so
$ kubectl create -f rbac-config.yaml
serviceaccount "tiller" created
clusterrolebinding "tiller" created
$ helm init --service-account tiller
$ helm init --service-account tiller --max-history 200
```
### Example: Deploy Tiller in a namespace, restricted to deploying resources only in that namespace

Loading…
Cancel
Save